Skip to content

Commit c7c3a6b

Browse files
mcollinaaduh95
andcommitted
Update lib/internal/vfs/module_hooks.js
Co-authored-by: Antoine du Hamel <[email protected]>
1 parent 6b8b324 commit c7c3a6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/internal/vfs/module_hooks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ function installHooks() {
606606
// Handle optional options argument
607607
if (typeof options === 'function') {
608608
listener = options;
609-
options = {};
609+
options = kEmptyObject;
610610
}
611611
options ??= {};
612612

0 commit comments

Comments
 (0)