0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
cjihrig dd13d71eb3 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: https://github.com/nodejs/node/pull/9209
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
2016-10-24 22:46:56 -04:00
..
internal lib: fix beforeExit not working with -e 2016-10-24 23:12:47 +02:00
_debug_agent.js debugger: use arrow function for lexical this 2016-08-18 16:44:38 -07:00
_debugger.js debugger: remove obsolete setTimeout 2016-06-07 13:32:05 -07:00
_http_agent.js http: name anonymous functions 2016-10-18 15:29:38 -07:00
_http_client.js http: name anonymous functions in _http_client 2016-10-18 15:38:33 -07:00
_http_common.js http: fix connection upgrade checks 2016-08-26 10:17:34 -04:00
_http_incoming.js http: name anonymous functions in _http_incoming 2016-10-18 15:38:36 -07:00
_http_outgoing.js http: name anonymous functions in _http_outgoing 2016-10-18 15:38:39 -07:00
_http_server.js http: name anonymous functions in _http_server 2016-10-18 15:38:42 -07:00
_linklist.js lib: use emitWarning instead of printDeprecationMessage 2016-09-02 13:15:22 -07:00
_stream_duplex.js node: allow multiple arguments passed to nextTick 2015-04-15 17:02:21 -06:00
_stream_passthrough.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
_stream_readable.js streams: fix regression in unpipe() 2016-10-19 14:00:02 +01:00
_stream_transform.js src: fixes misplaced comment 2016-09-30 09:47:09 -07:00
_stream_wrap.js test,lib,benchmark: match function names 2016-10-19 22:20:27 -07:00
_stream_writable.js test,lib,benchmark: match function names 2016-10-19 22:20:27 -07:00
_tls_common.js tls: improve createSecureContext in _tls_common 2016-09-28 09:15:27 +08:00
_tls_legacy.js test,lib,benchmark: match function names 2016-10-19 22:20:27 -07:00
_tls_wrap.js test,lib,benchmark: match function names 2016-10-19 22:20:27 -07:00
.eslintrc tools: avoid let in for loops 2016-10-14 13:37:12 -07:00
assert.js assert: name anonymous functions 2016-10-19 08:57:20 -07:00
buffer.js buffer: coerce slice parameters consistently 2016-10-18 15:51:44 -07:00
child_process.js child_process: remove unreachable execSync() code 2016-10-24 22:46:56 -04:00
cluster.js cluster: remove unused backlog argument 2016-10-03 12:34:46 +02:00
console.js console: name anonymous functions 2016-10-16 22:01:02 +02:00
constants.js src: refactor require('constants') 2016-05-17 11:05:18 -07:00
crypto.js crypto: naming anonymous functions 2016-10-15 21:11:49 +02:00
dgram.js dgram: use Buffer.alloc(0) for zero-size buffers 2016-10-06 15:27:52 -07:00
dns.js dns: name anonymous functions 2016-10-17 09:16:05 -07:00
domain.js test,lib,benchmark: match function names 2016-10-19 22:20:27 -07:00
events.js events: make memory leak warning name more verbose 2016-09-04 17:11:59 +02:00
fs.js fs: clarify fs.link and fs.linkSync arguments 2016-10-21 08:01:16 -07:00
http.js http: name anonymous functions in http 2016-10-18 15:38:43 -07:00
https.js crypto: fail early when loading crypto without openssl 2016-03-23 10:34:40 -07:00
module.js module: skip directories known not to exist 2016-10-24 22:50:44 +02:00
net.js test,lib,benchmark: match function names 2016-10-19 22:20:27 -07:00
os.js os: deprecate tmpDir() in favour of tmpdir() 2016-06-30 14:52:13 +02:00
path.js path: fallback to process cwd when resolving drive cwd 2016-09-24 01:14:56 +03:00
process.js src: remove excessive license boilerplate 2015-01-27 16:35:05 +11:00
punycode.js lib: remove let from for loops 2016-10-04 12:17:32 -04:00
querystring.js benchmark,test,lib: remove extra spaces 2016-05-11 23:18:16 -07:00
readline.js readline: fix concievably typo in readline.js 2016-10-06 18:22:30 +02:00
repl.js test,lib,benchmark: match function names 2016-10-19 22:20:27 -07:00
stream.js lib,src: remove usage of events.EventEmitter 2015-09-23 00:23:08 +05:30
string_decoder.js string_decoder: fix bad utf8 character handling 2016-06-23 23:18:10 -04:00
sys.js lib: use emitWarning instead of printDeprecationMessage 2016-09-02 13:15:22 -07:00
timers.js timers: fix regression with clearImmediate() 2016-10-14 15:57:25 -05:00
tls.js lib: remove let from for loops 2016-10-04 12:17:32 -04:00
tty.js tty: set the handle to blocking mode 2016-08-10 23:41:28 +02:00
url.js url: adding WHATWG URL support 2016-10-11 12:41:42 -07:00
util.js lib: remove let from for loops 2016-10-04 12:17:32 -04:00
v8.js lib: remove let from for loops 2016-10-04 12:17:32 -04:00
vm.js vm: change ContextifyScript to Script in comment 2016-09-08 08:41:23 +02:00
zlib.js zlib: move constants into zlib.constants 2016-06-11 17:24:35 -07:00