Skip to content

Commit 94561cc

Browse files
committed
fix: remove unused request dependency
1 parent 0ea7835 commit 94561cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/watch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export class Watch {
2525
callback: (phase: string, apiObj: any, watchObj?: any) => void,
2626
done: (err: any) => void,
2727
): Promise<AbortController> {
28-
const AbortControllerCtor = globalThis.AbortController || (await import('abort-controller'));
28+
const AbortControllerCtor = globalThis.AbortController || (await import('abort-controller')).AbortController;
2929

3030
const cluster = this.config.getCurrentCluster();
3131
if (!cluster) {

0 commit comments

Comments
 (0)