Skip to content

Commit

Permalink
fix: do not load recursivly
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Kirkpatrick committed Jun 6, 2017
1 parent 0c9b0cd commit 1a5c975
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ module.exports = (app, options) => {
function customizeModel(dirname) {
requireAll({
dirname,
recursive: false,
resolve: code => {
debug('Loading customization script %s', code)
if (typeof code === 'function') {
Expand Down

0 comments on commit 1a5c975

Please sign in to comment.