Skip to content

Commit 1395e36

Browse files
sinkhahadanielleadams
authored andcommitted
lib: delete module findPath unused params
PR-URL: #45371 Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Kohei Ueno <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent c410572 commit 1395e36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/modules/cjs/loader.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ Module._resolveFilename = function(request, parent, isMain, options) {
10581058
}
10591059

10601060
// Look up the filename first, since that's the cache key.
1061-
const filename = Module._findPath(request, paths, isMain, false);
1061+
const filename = Module._findPath(request, paths, isMain);
10621062
if (filename) return filename;
10631063
const requireStack = [];
10641064
for (let cursor = parent;

0 commit comments

Comments
 (0)