diff --git a/lib/child_process.js b/lib/child_process.js index 69afdbe68d3c0a..ad8842e520c3be 100644 --- a/lib/child_process.js +++ b/lib/child_process.js @@ -300,7 +300,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); } }