Skip to content

Commit

Permalink
upgrade node-environment-flags (support for --port)
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Jan 29, 2019
1 parent 67d8477 commit a1c50ad
Show file tree
Hide file tree
Showing 4 changed files with 270 additions and 238 deletions.
2 changes: 1 addition & 1 deletion lib/cli/options.js
Expand Up @@ -261,7 +261,7 @@ module.exports.loadPkgRc = loadPkgRc;
const loadOptions = (argv = []) => {
// save node-specific args having
const nodeArgOptionalValues = new Map(
argv
(Array.isArray(argv) ? argv : argv.split(' '))
.filter(arg => arg.includes('='))
.map(arg => arg.substring(2).split('='))
);
Expand Down

0 comments on commit a1c50ad

Please sign in to comment.