We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 313cd08 + 9bbd987 commit abd285aCopy full SHA for abd285a
lib/readfilecontext.js
@@ -17,6 +17,7 @@ exports.getReadFileContextPrototype = function() {
17
let proto;
18
fsBinding.open = (_path, _flags, _mode, req) => {
19
proto = Object.getPrototypeOf(req.context);
20
+ return originalOpen.apply(fsBinding, [_path, _flags, _mode, req]);
21
};
22
23
fs.readFile('/ignored.txt', () => {});
0 commit comments