mirror of
https://github.com/electron/electron.git
synced 2026-02-16 18:16:39 -05:00
Merge pull request #84 from jcreekmore/strict-ssl
Allow specifying StrictSSL in the NPM config file
This commit is contained in:
@@ -36,7 +36,7 @@ if (installedVersion === version && fs.existsSync(path.join(__dirname, paths[pla
|
||||
}
|
||||
|
||||
// downloads if not cached
|
||||
download({version: version, arch: process.env.npm_config_arch}, extractFile)
|
||||
download({version: version, arch: process.env.npm_config_arch, strictSSL: process.env.npm_config_strict_ssl}, extractFile)
|
||||
|
||||
// unzips and makes path.txt point at the correct executable
|
||||
function extractFile (err, zipPath) {
|
||||
|
||||
Reference in New Issue
Block a user