lint: fix lint issues

Forgot to fix these before landing the patch.

Fixes: e17c5a72
pull/23395/head
Trevor Norris 2014-11-18 16:42:10 -08:00
parent caeb67735b
commit a1b2875afd
1 changed files with 2 additions and 4 deletions

View File

@ -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++;
}