Skip to content

Commit 95cd9d7

Browse files
print progress for proper loglevels
1 parent 92818eb commit 95cd9d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

npm/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ download({
4141
platform: process.env.npm_config_platform,
4242
arch: process.env.npm_config_arch,
4343
strictSSL: process.env.npm_config_strict_ssl === 'true',
44-
quiet: process.env.npm_config_loglevel === 'silent'
44+
quiet: ['info', 'verbose', 'silly'].indexOf(process.env.npm_config_loglevel) === -1
4545
}, extractFile)
4646

4747
// unzips and makes path.txt point at the correct executable

0 commit comments

Comments
 (0)