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:
Jordan Piepkow 2017-05-23 16:16:01 -04:00 committed by GitHub
parent 28100a8695
commit ffc22ef926

View file

@ -29,7 +29,7 @@ download({
platform: process.env.npm_config_platform,
arch: process.env.npm_config_arch,
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
}, extractFile)