Please sign in to comment.
child_process: remove unreachable execSync() code
Code coverage showed that the execSync() variable inheritStderr was never set to the default value of true. This is because the default case is hit whenever normalizeExecArgs() returns an object without an 'options' property. However, this can never be the case because normalizeExecArgs() unconditionally creates the options object. This commit removes the unreachable code. PR-URL: #9209 Reviewed-By: James M Snell <email@example.com> Reviewed-By: Michaël Zasso <firstname.lastname@example.org> Reviewed-By: Luigi Pinca <email@example.com> Reviewed-By: Sakthipriyan Vairamani <firstname.lastname@example.org>
- Loading branch information...