diff --git a/lib/ender.file.js b/lib/ender.file.js index 08832a2..d72ea94 100644 --- a/lib/ender.file.js +++ b/lib/ender.file.js @@ -259,7 +259,7 @@ ENDER.file = module.exports = { , isInstallingFromRoot = /^\.\/?$/.test(packageName) async.waterfall([ - function (cb) { fs.readFile(packagePath, 'utf-8', function (err, data) { if (err) { return ++x }cb(err, data) }) } + function (cb) { fs.readFile(packagePath, 'utf-8', function (err, data) { if (err) { return ++x } cb(err, data) }) } , function (data, cb) { ENDER.file.findDependencies(data, tree, dir, isInstallingFromRoot, cb) } , function () { if (++x == packages.length) { callback(null, tree) } } ])