Skip to content

Commit a740908

Browse files
sinkhahaMylesBorins
authored andcommitted
lib: delete module findPath unused params
PR-URL: #45371 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 8b46c76 commit a740908

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

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

0 commit comments

Comments
 (0)