diff options
author | Rebecca Turner <me@re-becca.org> | 2015-04-20 11:34:44 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2015-06-26 03:26:52 +0300 |
commit | 24a149faed33dc1faeff78877fb9f95bc5c6a9e3 (patch) | |
tree | c9595155c2e427dedb6c507770734cd53d76d63b /lib/npm.js | |
parent | f9b6abf0262126ff35a81b3ad8ca71e63d1935b5 (diff) |
Stop stray progressbars from appearing when logging is used in non-progress commands
Diffstat (limited to 'lib/npm.js')
-rw-r--r-- | lib/npm.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/npm.js b/lib/npm.js index d530ea8d7..67cc79876 100644 --- a/lib/npm.js +++ b/lib/npm.js @@ -157,8 +157,6 @@ fullList = npm.fullList = fullList.filter(function (c) { return littleGuys.indexOf(c) === -1 }) -showProgress = log.progressEnabled - Object.keys(abbrevs).concat(plumbing).forEach(function addCommand (c) { Object.defineProperty(npm.commands, c, { get : function () { if (!loaded) throw new Error( @@ -178,7 +176,6 @@ Object.keys(abbrevs).concat(plumbing).forEach(function addCommand (c) { var args = Array.prototype.slice.call(arguments, 0) if (typeof args[args.length - 1] !== "function") { args.push(defaultCb) - log.enableProgress() } if (args.length === 1) args.unshift([]) |