mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Error handling for require-tree
fixes #2507 - ideally we would create an apps directory if one isn't present, but we can deal with that in later versions
This commit is contained in:
parent
d50d3cd232
commit
31fa3bab3a
1 changed files with 2 additions and 0 deletions
|
@ -120,6 +120,8 @@ var _ = require('lodash'),
|
|||
}
|
||||
paths._messages = messages;
|
||||
return paths;
|
||||
}).otherwise(function () {
|
||||
return {'_messages': messages};
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue