This pull request seeks to resolve an issue where the save option has no effect if using NPM >=5. See #48 for full debugging details.
With these changes, a --save or --no-save flag will always be provided to npm, depending on the option value. This is intended to work in both NPM >= 5, as well as NPM < 5, by not allowing any default behavior to take effect.
Fixes #48
This pull request seeks to resolve an issue where the
save
option has no effect if using NPM >=5. See #48 for full debugging details.With these changes, a
--save
or--no-save
flag will always be provided tonpm
, depending on the option value. This is intended to work in both NPM >= 5, as well as NPM < 5, by not allowing any default behavior to take effect.