diff --git a/lib/child_process.js b/lib/child_process.js index 4c2fb7e09817f4..afdc5ae551a95e 100644 --- a/lib/child_process.js +++ b/lib/child_process.js @@ -305,7 +305,7 @@ var _deprecatedCustomFds = internalUtil.deprecate(function(options) { 'Use options.stdio instead.'); function _convertCustomFds(options) { - if (options && options.customFds && !options.stdio) { + if (options.customFds && !options.stdio) { _deprecatedCustomFds(options); } }