From ffc22ef926c623efd8f3f29c5d3e0daf0010b482 Mon Sep 17 00:00:00 2001 From: Jordan Piepkow Date: Tue, 23 May 2017 16:16:01 -0400 Subject: [PATCH] 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. --- npm/install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm/install.js b/npm/install.js index f49189d4c3d1..3a93295f35db 100755 --- a/npm/install.js +++ b/npm/install.js @@ -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)