From 012d84876731c9d0ec59f6dc46785fa3046484ea Mon Sep 17 00:00:00 2001 From: Paige Kato Date: Fri, 12 Oct 2018 09:50:47 -0700 Subject: [PATCH] test: remove unused variable from catch PR-URL: https://github.com/nodejs/node/pull/23477 Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat --- test/parallel/test-readline-interface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-readline-interface.js b/test/parallel/test-readline-interface.js index 0550019e64f46f..ec553832c42d68 100644 --- a/test/parallel/test-readline-interface.js +++ b/test/parallel/test-readline-interface.js @@ -509,7 +509,7 @@ function isWarned(emitter) { }); try { fi.emit('data', 'fooX'); - } catch (e) { } + } catch { } fi.emit('data', 'bar'); assert.strictEqual(keys.join(''), 'fooXbar'); rli.close();