From a1b2875afd9affd3e0147a10f04a2daf8c598761 Mon Sep 17 00:00:00 2001 From: Trevor Norris Date: Tue, 18 Nov 2014 16:42:10 -0800 Subject: [PATCH] lint: fix lint issues Forgot to fix these before landing the patch. Fixes: e17c5a72 --- lib/child_process.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/child_process.js b/lib/child_process.js index 640f68e617a..1d2afb75446 100644 --- a/lib/child_process.js +++ b/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++; }