mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-25 02:31:59 -05:00
Merge pull request #2508 from ErisDS/issue-2507
Error handling for require-tree
This commit is contained in:
commit
13f9bffd98
1 changed files with 2 additions and 0 deletions
|
@ -120,6 +120,8 @@ var _ = require('lodash'),
|
||||||
}
|
}
|
||||||
paths._messages = messages;
|
paths._messages = messages;
|
||||||
return paths;
|
return paths;
|
||||||
|
}).otherwise(function () {
|
||||||
|
return {'_messages': messages};
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue