Skip to content

Commit 2defef5

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

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
@@ -1653,7 +1653,7 @@ function stat(path, options = { __proto__: null, bigint: false, signal: undefine
16531653
let aborted = false;
16541654
const onAbort = () => {
16551655
aborted = true;
1656-
originalCallback(new AbortError(undefined, { cause: options.signal.reason }));
1656+
originalCallback(new AbortError(undefined, { __proto__: null, cause: options.signal.reason }));
16571657
};
16581658

16591659
if (options.signal) {

0 commit comments

Comments
 (0)