Skip to content

Commit a742528

Browse files
committed
fix: removed unnecessary variable and 1
1 parent 4841b28 commit a742528

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/QUICStream.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ class QUICStream implements ReadableWritablePair<Uint8Array, Uint8Array> {
577577
this.rejectReadableP = rejectReadableP;
578578
try {
579579
await readableP;
580-
} catch (e) {
580+
} catch {
581581
// If readableP was rejected then we just want to end early here,
582582
// anything rejecting it should already have errored the stream.
583583
return;

tests/QUICStream.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import * as utils from '#utils.js';
1212
import QUICServer from '#QUICServer.js';
1313
import QUICClient from '#QUICClient.js';
1414
import QUICStream from '#QUICStream.js';
15-
1;
15+
1616
describe(QUICStream.name, () => {
1717
const logger = new Logger(`${QUICStream.name} Test`, LogLevel.WARN, [
1818
new StreamHandler(

0 commit comments

Comments
 (0)