Browse Source

lint: fix lint issues

Forgot to fix these before landing the patch.

Fixes: e17c5a72
v0.10.34-release
Trevor Norris 10 years ago
parent
commit
a1b2875afd
  1. 6
      lib/child_process.js

6
lib/child_process.js

@ -607,15 +607,13 @@ exports.execFile = function(file /* args, options, callback */) {
var pos = 1;
if (pos < arguments.length && Array.isArray(arguments[pos])) {
args = arguments[pos++];
}
else if(pos < arguments.length && arguments[pos] == null) {
} else if (pos < arguments.length && arguments[pos] == null) {
pos++;
}
if (pos < arguments.length && typeof arguments[pos] === 'object') {
options = util._extend(options, arguments[pos++]);
}
else if(pos < arguments.length && arguments[pos] == null) {
} else if (pos < arguments.length && arguments[pos] == null) {
pos++;
}

Loading…
Cancel
Save