Skip to content

Commit 418e0ee

Browse files
committed
fixup! permission: ignore internalModuleStat on module loading
1 parent b6c7580 commit 418e0ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-permission-fs-internal-module-stat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ const internalFsBinding = internalBinding('fs');
1818
for (let i = 0; i < 10_000; i++) {
1919
// internalModuleStat does not use permission model.
2020
// doesNotThrow
21-
internalFsBinding.internalModuleStat(blockedFile);
21+
internalFsBinding.internalModuleStat(internalFsBinding, blockedFile);
2222
}

0 commit comments

Comments
 (0)