Skip to content

Commit b5c698d

Browse files
Paige Katojasnell
Paige Kato
authored andcommitted
test: remove unused variable from catch
PR-URL: #23477 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent e527321 commit b5c698d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/parallel/test-readline-interface.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ function isWarned(emitter) {
509509
});
510510
try {
511511
fi.emit('data', 'fooX');
512-
} catch (e) { }
512+
} catch { }
513513
fi.emit('data', 'bar');
514514
assert.strictEqual(keys.join(''), 'fooXbar');
515515
rli.close();

0 commit comments

Comments
 (0)