Skip to content

Commit c85efae

Browse files
fixup! "fs: add AbortSignal support to watch"
Co-authored-by: Darshan Sen <raisinten@gmail.com>
1 parent 377f6e9 commit c85efae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-fs-watch-abort-signal.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ const fixtures = require('../common/fixtures');
2727
const ac = new AbortController();
2828
const { signal } = ac;
2929
ac.abort();
30-
const wathcer = fs.watch(file, { signal });
31-
wathcer.once('close', common.mustCall());
30+
const watcher = fs.watch(file, { signal });
31+
watcher.once('close', common.mustCall());
3232
}

0 commit comments

Comments
 (0)