Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b6fc9ad

Browse filesBrowse files
avivkellertargos
authored andcommitted
module: remove duplicated import
PR-URL: #54942 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent aeae597 commit b6fc9ad
Copy full SHA for b6fc9ad

File tree

Expand file treeCollapse file tree

1 file changed

+0
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-1
lines changed
Open diff view settings
Collapse file

‎lib/internal/modules/run_main.js‎

Copy file name to clipboardExpand all lines: lib/internal/modules/run_main.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ function resolveMainPath(main) {
4848
} catch (err) {
4949
if (defaultType === 'module' && err?.code === 'ENOENT') {
5050
const { decorateErrorWithCommonJSHints } = require('internal/modules/esm/resolve');
51-
const { getCWDURL } = require('internal/util');
5251
decorateErrorWithCommonJSHints(err, mainPath, getCWDURL());
5352
}
5453
throw err;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.