Browse Source

change platform path to match downloaded one

Emily 8 years ago
parent
commit
4f20a15907
1 changed files with 1 additions and 1 deletions
  1. 1 1
      npm/install.js

+ 1 - 1
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