Skip to content

Commit 0d5c6a4

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

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
@@ -617,7 +617,7 @@ function installHooks() {
617617
return vfsResult.vfs.watch(pathStr, options, listener);
618618
}
619619
}
620-
return originalWatch.call(fs, filename, options, listener);
620+
return FunctionPrototypeCall(originalWatch, fs, filename, options, listener);
621621
};
622622

623623
// Override fs.watchFile

0 commit comments

Comments
 (0)