The line at the end describing about the error thrown can be worded better.
If the process times out, or has a non-zero exit code, this method will throw. The Error object will contain the entire result from child_process.spawnSync()
Should be something like:
If the process times out, or has a non-zero exit code, this method will throw an Error object which will contain the entire result from child_process.spawnSync()
https://nodejs.org/api/child_process.html#child_process_child_process_execsync_command_options
[refack adding]
|
If the process times out, or has a non-zero exit code, this method ***will*** |
|
throw. The [`Error`][] object will contain the entire result from |
|
[`child_process.spawnSync()`][] |