Skip to content

Commit b6fc9ad

Browse files
Aviv Kellertargos
Aviv Keller
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

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)