diff --git a/npm/install.js b/npm/install.js index cf9d57037a0..02868ce9a9d 100755 --- a/npm/install.js +++ b/npm/install.js @@ -16,7 +16,7 @@ try { // do nothing } -var platform = os.platform() +var platform = process.env.npm_config_platform function onerror (err) { throw err