Commit ec7c27f4 authored by cjihrig's avatar cjihrig
Browse files

child_process: remove unreachable code

_convertCustomFds() is only called from normalizeSpawnArguments(),
which always provides an options object. Therefore, there is no
need to check for options in _convertCustomFds().

PR-URL: https://github.com/nodejs/node/pull/9307


Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarSantiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent d0ed173d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment