Skip to content

Commit 5bd5fcd

Browse files
Update fs.js
Co-authored-by: Jason Zhang <xzha4350@gmail.com>
1 parent 2defef5 commit 5bd5fcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1657,7 +1657,7 @@ function stat(path, options = { __proto__: null, bigint: false, signal: undefine
16571657
};
16581658

16591659
if (options.signal) {
1660-
options.signal.addEventListener('abort', onAbort, { once: true });
1660+
options.signal.addEventListener('abort', onAbort, { __proto__: null, once: true });
16611661
}
16621662

16631663
req.oncomplete = (err, stats) => {

0 commit comments

Comments
 (0)