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