diff options
author | cjihrig <cjihrig@gmail.com> | 2018-11-04 12:38:54 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2018-11-06 10:59:23 -0500 |
commit | 5407690bd79a4aa9b5ea72acb98d1a8efd309029 (patch) | |
tree | 631bfbf731bdb4fa66338e40a52ecd0579b9d61d /benchmark/child_process/child-process-exec-stdout.js | |
parent | a74b4a062fd6cf8ba5fb0a17078f855b072841cd (diff) | |
download | android-node-v8-5407690bd79a4aa9b5ea72acb98d1a8efd309029.tar.gz android-node-v8-5407690bd79a4aa9b5ea72acb98d1a8efd309029.tar.bz2 android-node-v8-5407690bd79a4aa9b5ea72acb98d1a8efd309029.zip |
benchmark: remove unused catch bindings
PR-URL: https://github.com/nodejs/node/pull/24079
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Wyatt Preul <wpreul@gmail.com>
Diffstat (limited to 'benchmark/child_process/child-process-exec-stdout.js')
-rw-r--r-- | benchmark/child_process/child-process-exec-stdout.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/child_process/child-process-exec-stdout.js b/benchmark/child_process/child-process-exec-stdout.js index a891026b86..88c02533f6 100644 --- a/benchmark/child_process/child-process-exec-stdout.js +++ b/benchmark/child_process/child-process-exec-stdout.js @@ -30,7 +30,7 @@ function childProcessExecStdout({ dur, len }) { // Sometimes there's a yes.exe process left hanging around on Windows. try { execSync(`taskkill /f /t /pid ${child.pid}`); - } catch (_) { + } catch { // this is a best effort kill. stderr is piped to parent for tracing. } } else { |