0
Fork 0
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:
Hannah Wolfe 2014-03-25 22:38:48 +00:00
parent d50d3cd232
commit 31fa3bab3a

View file

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