diff options
author | Forrest L Norvell <forrest@npmjs.com> | 2015-11-25 21:12:51 +0300 |
---|---|---|
committer | Forrest L Norvell <forrest@npmjs.com> | 2015-11-25 22:43:33 +0300 |
commit | 1d14d882c3b5af0a7fee46e8e0e343d07e4c38cb (patch) | |
tree | 06774f9d4b8a3aa75e4f0cd8db69a6e321f8514d /node_modules/node-gyp/lib/node-gyp.js | |
parent | 0e2013e5f16d50369db56af4d272101e606d7370 (diff) |
node-gyp@3.2.0
- Use result of `which` when searching for Python. (@refack)
- Add support for AIX. (@mhdawson)
- Update broken links and switch to HTTPS. (@drewish)
- Update to newer gyp. (@TooTallNate, @nathan7, @iWuzHere)
- Update to tar@2. (@Emuentes)
- process.platform will never be kfreebsd. (@kapouer)
Credit: @bnoordhuis
Reviewed-By: @othiym23
Diffstat (limited to 'node_modules/node-gyp/lib/node-gyp.js')
-rw-r--r-- | node_modules/node-gyp/lib/node-gyp.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/node_modules/node-gyp/lib/node-gyp.js b/node_modules/node-gyp/lib/node-gyp.js index d6d6509a7..b84f17d7e 100644 --- a/node_modules/node-gyp/lib/node-gyp.js +++ b/node_modules/node-gyp/lib/node-gyp.js @@ -164,7 +164,9 @@ proto.parseArgv = function parseOpts (argv) { } else { // add the user-defined options to the config name = name.substring(npm_config_prefix.length) - this.opts[name] = val + // gyp@741b7f1 enters an infinite loop when it encounters + // zero-length options so ensure those don't get through. + if (name) this.opts[name] = val } }, this) |