From a74b4a062fd6cf8ba5fb0a17078f855b072841cd Mon Sep 17 00:00:00 2001 From: cjihrig Date: Sun, 4 Nov 2018 10:25:02 -0500 Subject: test: remove unused catch bindings PR-URL: https://github.com/nodejs/node/pull/24079 Reviewed-By: Sam Roberts Reviewed-By: Wyatt Preul --- test/sequential/test-fs-readfile-tostring-fail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/sequential') diff --git a/test/sequential/test-fs-readfile-tostring-fail.js b/test/sequential/test-fs-readfile-tostring-fail.js index 8dcab75e0f..da8f3930f6 100644 --- a/test/sequential/test-fs-readfile-tostring-fail.js +++ b/test/sequential/test-fs-readfile-tostring-fail.js @@ -50,7 +50,7 @@ stream.on('finish', common.mustCall(function() { function destroy() { try { fs.unlinkSync(file); - } catch (err) { + } catch { // it may not exist } } -- cgit v1.2.3