commit
2cdceb00a9
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ if (installedVersion === version && fs.existsSync(path.join(__dirname, paths[pla
|
||||||
}
|
}
|
||||||
|
|
||||||
// downloads if not cached
|
// downloads if not cached
|
||||||
download({version: version, platform: process.env.npm_config_platform, arch: process.env.npm_config_arch, strictSSL: process.env.npm_config_strict_ssl}, extractFile)
|
download({version: version, platform: process.env.npm_config_platform, arch: process.env.npm_config_arch, strictSSL: process.env.npm_config_strict_ssl === 'true'}, extractFile)
|
||||||
|
|
||||||
// unzips and makes path.txt point at the correct executable
|
// unzips and makes path.txt point at the correct executable
|
||||||
function extractFile (err, zipPath) {
|
function extractFile (err, zipPath) {
|
||||||
|
|
Loading…
Reference in a new issue