Skip to content

Commit a2bbe5f

Browse files
authored
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 825efe5 commit a2bbe5f

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
@@ -1072,7 +1072,7 @@ Module._resolveFilename = function(request, parent, isMain, options) {
10721072
}
10731073

10741074
// Look up the filename first, since that's the cache key.
1075-
const filename = Module._findPath(request, paths, isMain, false);
1075+
const filename = Module._findPath(request, paths, isMain);
10761076
if (filename) return filename;
10771077
const requireStack = [];
10781078
for (let cursor = parent;

0 commit comments

Comments
 (0)