switched to the more standard approach in this file
Switched to defaulting back to string 'false' as that is how it was already doing strictSSL and electron-download treats and checks both against bools so would make sense to keep it the same across the document.
This commit is contained in:
parent
28100a8695
commit
ffc22ef926
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ download({
|
||||||
platform: process.env.npm_config_platform,
|
platform: process.env.npm_config_platform,
|
||||||
arch: process.env.npm_config_arch,
|
arch: process.env.npm_config_arch,
|
||||||
strictSSL: process.env.npm_config_strict_ssl === 'true',
|
strictSSL: process.env.npm_config_strict_ssl === 'true',
|
||||||
force: process.env.force_no_cache || false,
|
force: process.env.force_no_cache === 'true',
|
||||||
quiet: ['info', 'verbose', 'silly', 'http'].indexOf(process.env.npm_config_loglevel) === -1
|
quiet: ['info', 'verbose', 'silly', 'http'].indexOf(process.env.npm_config_loglevel) === -1
|
||||||
}, extractFile)
|
}, extractFile)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue