Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: remove unused variable from catch
  • Loading branch information
Paige Kato committed Oct 12, 2018
commit 78f01cda5a7a72192b90f5bf33b7ea2f4f98a745
2 changes: 1 addition & 1 deletion test/parallel/test-readline-interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down