Skip to content

Commit 6e5d524

Browse files
avivkellermarco-ippolito
authored andcommitted
module: remove duplicated import
PR-URL: #54942 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent d2ce003 commit 6e5d524

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/internal/modules/run_main.js

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ function resolveMainPath(main) {
4444
} catch (err) {
4545
if (defaultType === 'module' && err?.code === 'ENOENT') {
4646
const { decorateErrorWithCommonJSHints } = require('internal/modules/esm/resolve');
47-
const { getCWDURL } = require('internal/util');
4847
decorateErrorWithCommonJSHints(err, mainPath, getCWDURL());
4948
}
5049
throw err;

0 commit comments

Comments
 (0)