Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Fix check for npm config progress
Browse files Browse the repository at this point in the history
npm config values are strings
  • Loading branch information
xzyfer committed Nov 13, 2016
1 parent b21c70c commit 5c7fb7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5c7fb7f

Please sign in to comment.