Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! test: add comment
  • Loading branch information
RaisinTen committed Oct 23, 2022
commit 69a23d7cb91539641ce0dc1d8782b6d9110128f4
1 change: 1 addition & 0 deletions test/parallel/test-vfs.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ common.expectWarning(
process.on('warning', common.mustCall());

const originalStat = Module._stat;
TODO(aduh95): We'd like to have a better way to achieve this without monkey-patching.
Comment thread
RaisinTen marked this conversation as resolved.
Outdated
Module._stat = function(filename) {
Comment thread
RaisinTen marked this conversation as resolved.
if (!filename.startsWith(process.execPath)) {
return originalStat(filename);
Expand Down