Skip to content

Commit

Permalink
module: removed unused variable
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
momander authored and jasnell committed Oct 17, 2018
1 parent e7cbc3f commit df8e586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/modules/esm/default_resolve.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function search(target, base) {
new URL('./', questionedBase).pathname);
const found = CJSmodule._resolveFilename(target, tmpMod);
error = new ERR_MODULE_RESOLUTION_LEGACY(target, base, found);
} catch (problemChecking) {
} catch {
// ignore
}
throw error;
Expand Down

0 comments on commit df8e586

Please sign in to comment.