summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Norris <trev.norris@gmail.com>2014-11-18 16:42:10 -0800
committerTrevor Norris <trev.norris@gmail.com>2014-11-18 16:42:10 -0800
commita1b2875afd9affd3e0147a10f04a2daf8c598761 (patch)
treefbc011d06db1454ca2c60de0ecd174e6d9834e60
parentcaeb67735baa8e069902e23f21d01033907c4f33 (diff)
downloadnode-a1b2875afd9affd3e0147a10f04a2daf8c598761.tar.gz
lint: fix lint issues
Forgot to fix these before landing the patch. Fixes: e17c5a72
-rw-r--r--lib/child_process.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/child_process.js b/lib/child_process.js
index 640f68e61..1d2afb754 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++;
}