0
Fork 0
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:
Hannah Wolfe 2014-03-26 07:54:54 +00:00
commit 13f9bffd98

View file

@ -120,6 +120,8 @@ var _ = require('lodash'),
} }
paths._messages = messages; paths._messages = messages;
return paths; return paths;
}).otherwise(function () {
return {'_messages': messages};
}); });
}; };