Skip to content

Commit e8be139

Browse files
Aviv Kellerlouwers
Aviv Keller
authored andcommitted
module: remove duplicated import
PR-URL: nodejs#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 1df5e0e commit e8be139

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
@@ -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)