Merge pull request #162 from EmilyFranklin/correct-platform-path

Change platform path to match downloaded one
This commit is contained in:
Kevin Sawicki 2016-09-22 08:51:31 -07:00 committed by GitHub
commit 83ffe03825

View file

@ -16,7 +16,7 @@ try {
// do nothing
}
var platform = os.platform()
var platform = process.env.npm_config_platform || os.platform()
function onerror (err) {
throw err