Permalink
Browse files

missing opt for remove, without would throw opt not defined exceptions

  • Loading branch information...
tbranyen committed Sep 15, 2012
1 parent e0c6bf8 commit 060e8bedeaf78b396a56f13ddb94db0e76fc4859
Showing with 1 addition and 0 deletions.
  1. +1 −0 index.js
View
@@ -130,6 +130,7 @@ exports.remove = function (pdir, names, callback) {
names = [names];
}
jamrc.load(function (err, settings) {
+ var opt = {};
install.initDir(settings, pdir, opt, function (err, opt, cfg) {
opt = install.extendOptions(pdir, settings, cfg, opt);
remove.remove(settings, cfg, opt, names, callback);

0 comments on commit 060e8be

Please sign in to comment.