Skip to content

Commit df8e586

Browse files
momanderjasnell
authored andcommitted
module: removed unused variable
The variable problemChecking was not used. Removed it. PR-URL: #23624 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Сковорода Никита Андреевич <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent e7cbc3f commit df8e586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/internal/modules/esm/default_resolve.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function search(target, base) {
3737
new URL('./', questionedBase).pathname);
3838
const found = CJSmodule._resolveFilename(target, tmpMod);
3939
error = new ERR_MODULE_RESOLUTION_LEGACY(target, base, found);
40-
} catch (problemChecking) {
40+
} catch {
4141
// ignore
4242
}
4343
throw error;

0 commit comments

Comments
 (0)