slushjs / gulp-install

Automatically install npm and bower packages if package.json or bower.json is found in the gulp file stream respectively
MIT License
106 stars 46 forks source link

Args parsing always prepends "--" to arg name, breaks commands like "--argname foo" #45

Closed cboscolo closed 7 years ago

cboscolo commented 7 years ago

I'm trying to call install like this: .pipe(install({production: true, args: ['--registry', 'https://npm-proxy.fury.io/foobar/'})); doesn't work because gulp-install turn 'https://npm-proxy.fury.io/foobar/' into '--https://npm-proxy.fury.io/foobar/'.

Can this auto-prepend of '--' to args be removed?

joakimbeng commented 7 years ago

Yes! A fix is on its way! (sorry for the slow response)