Skip to content

Commit 111355a

Browse files
committed
Fixup fs override patch
nodejs/node#35426
1 parent 70dc759 commit 111355a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

patches/node/refactor_allow_embedder_overriding_of_internal_fs_calls.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ diff --git a/lib/internal/modules/cjs/loader.js b/lib/internal/modules/cjs/loade
2525
index 768d13d018f75f12061f1d9e7d69fb47ddd3552d..7fd217560ec465b893116df87916d422f384b55f 100644
2626
--- a/lib/internal/modules/cjs/loader.js
2727
+++ b/lib/internal/modules/cjs/loader.js
28-
@@ -71,7 +71,7 @@ const internalFS = require('internal/fs/utils');
28+
@@ -70,7 +70,7 @@ const fs = require('fs');
29+
const internalFS = require('internal/fs/utils');
2930
const path = require('path');
3031
const { sep } = path;
31-
const { emitWarningSync } = require('internal/process/warning');
3232
-const { internalModuleStat } = internalBinding('fs');
3333
+const internalFsBinding = internalBinding('fs');
3434
const packageJsonReader = require('internal/modules/package_json_reader');

0 commit comments

Comments
 (0)