diff options
author | cjihrig <cjihrig@gmail.com> | 2018-11-04 10:25:02 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2018-11-06 10:59:18 -0500 |
commit | a74b4a062fd6cf8ba5fb0a17078f855b072841cd (patch) | |
tree | 0e82ccc547e2bcfc366bca14a757a7b37d533e11 /test/parallel/test-module-loading-error.js | |
parent | a7ba5faaf52b3794b1ade619b7f2b9c77517dbd3 (diff) | |
download | android-node-v8-a74b4a062fd6cf8ba5fb0a17078f855b072841cd.tar.gz android-node-v8-a74b4a062fd6cf8ba5fb0a17078f855b072841cd.tar.bz2 android-node-v8-a74b4a062fd6cf8ba5fb0a17078f855b072841cd.zip |
test: 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 'test/parallel/test-module-loading-error.js')
-rw-r--r-- | test/parallel/test-module-loading-error.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-module-loading-error.js b/test/parallel/test-module-loading-error.js index 86932bd759..f2351e708f 100644 --- a/test/parallel/test-module-loading-error.js +++ b/test/parallel/test-module-loading-error.js @@ -45,7 +45,7 @@ if (common.isWindows) { try { // If MUI != 'en' we'll ignore the content of the message localeOk = execSync(powerShellFindMUI).toString('utf8').trim() === 'en'; - } catch (_) { + } catch { // It's only a best effort try to find the MUI } } |