Merge pull request #10758 from electron/felixrieseberg-patch-1

Don't be quiet on default loglevel
This commit is contained in:
Felix Rieseberg 2017-10-11 15:18:11 -07:00 committed by GitHub
commit 26220f2b31

View file

@ -29,7 +29,7 @@ download({
arch: process.env.npm_config_arch,
strictSSL: process.env.npm_config_strict_ssl === 'true',
force: process.env.force_no_cache === 'true',
quiet: ['info', 'verbose', 'silly', 'http'].indexOf(process.env.npm_config_loglevel) === -1
quiet: process.env.npm_config_loglevel === 'silent' || process.env.CI
}, extractFile)
// unzips and makes path.txt point at the correct executable