Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
lint: fix lint issues
Browse files Browse the repository at this point in the history
Forgot to fix these before landing the patch.

Fixes: e17c5a7
  • Loading branch information
trevnorris committed Nov 19, 2014
1 parent caeb677 commit a1b2875
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/child_process.js
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}

Expand Down

0 comments on commit a1b2875

Please sign in to comment.