diff options
author | Rebecca Turner <me@re-becca.org> | 2015-07-01 04:30:10 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2015-07-01 15:09:26 +0300 |
commit | 391e29daa769e7fdd00fd8afe14eb9669344d823 (patch) | |
tree | 63845d6f1c434690d1143869ad9fe36bf7b38c74 | |
parent | 0bb08c88c2b6ae2a07848ce78991dccb99441387 (diff) |
validate: Get rid of unused log argument
-rw-r--r-- | lib/install/validate-tree.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/install/validate-tree.js b/lib/install/validate-tree.js index 78e64b77e..880a0fb66 100644 --- a/lib/install/validate-tree.js +++ b/lib/install/validate-tree.js @@ -28,7 +28,7 @@ module.exports = function (idealTree, log, next) { mod.parent && !isInLink(mod) && [checkGit, mod.realpath], [checkErrors, mod, idealTree] ], done) - }, andValidateAllPeerDeps(idealTree, log, andFinishTracker(log, next))) + }, andValidateAllPeerDeps(idealTree, andFinishTracker(log, next))) } function isInLink (mod) { @@ -42,8 +42,8 @@ function checkErrors (mod, idealTree, next) { next() } -function andValidateAllPeerDeps (idealTree, log, next) { - validate('OOF', arguments) +function andValidateAllPeerDeps (idealTree, next) { + validate('OF', arguments) return function (er) { validateAllPeerDeps(idealTree, function (tree, pkgname, version) { var warn = new Error(tree.package.name + '@' + tree.package.version + |