Skip to content

Commit

Permalink
fix: support node4 (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
popomore authored and fengmk2 committed Feb 18, 2017
1 parent c53e16d commit dbbaf98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ exports.formatArgs = function* (cwd, args, options) {
return args;
};

exports.formatExecArgv = function(args = []) {
exports.formatExecArgv = function(args) {
args = args || [];
return process.execArgv.concat(args.filter(passbyArgv));
};

Expand Down

0 comments on commit dbbaf98

Please sign in to comment.