Commit 5c7fb7f6 by xzyfer

Fix check for npm config progress

npm config values are strings
parent b21c70ca
......@@ -71,7 +71,7 @@ function download(url, dest, cb) {
// The `progress` is true by default. However if it has not
// been explicitly set it's `undefined` which is considered
// as far as npm is concerned.
if (process.env.npm_config_progress !== false) {
if (process.env.npm_config_progress === 'true') {
log.enableProgress();
response.on('data', function(chunk) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment