We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 313cd08 commit 2d48c6cCopy full SHA for 2d48c6c
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
+ originalOpen.apply(fsBinding, [_path, _flags, _mode, req]);
21
};
22
23
fs.readFile('/ignored.txt', () => {});
0 commit comments