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

Commit a1b2875

Browse files
committed
lint: fix lint issues
Forgot to fix these before landing the patch. Fixes: e17c5a7
1 parent caeb677 commit a1b2875

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/child_process.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -607,15 +607,13 @@ exports.execFile = function(file /* args, options, callback */) {
607607
var pos = 1;
608608
if (pos < arguments.length && Array.isArray(arguments[pos])) {
609609
args = arguments[pos++];
610-
}
611-
else if(pos < arguments.length && arguments[pos] == null) {
610+
} else if (pos < arguments.length && arguments[pos] == null) {
612611
pos++;
613612
}
614613

615614
if (pos < arguments.length && typeof arguments[pos] === 'object') {
616615
options = util._extend(options, arguments[pos++]);
617-
}
618-
else if(pos < arguments.length && arguments[pos] == null) {
616+
} else if (pos < arguments.length && arguments[pos] == null) {
619617
pos++;
620618
}
621619

0 commit comments

Comments
 (0)