Skip to content

Commit 8c13428

Browse files
committed
fix: timeoutSignal is lost after being overriden with controller.signal
1 parent 184cb5b commit 8c13428

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/watch.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ export class Watch {
4141
const controller = new AbortController();
4242
const timeoutSignal = AbortSignal.timeout(30000);
4343
requestInit.signal = AbortSignal.any([controller.signal, timeoutSignal]);
44-
requestInit.signal = controller.signal as AbortSignal;
4544
requestInit.method = 'GET';
4645

4746
let doneCalled: boolean = false;

0 commit comments

Comments
 (0)