From 00f2528c90b5f69bd4d20ad43c3ada3f08adc6a0 Mon Sep 17 00:00:00 2001 From: Aviv Keller Date: Sat, 14 Sep 2024 11:21:45 -0400 Subject: [PATCH] module: remove duplicated import --- lib/internal/modules/run_main.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/internal/modules/run_main.js b/lib/internal/modules/run_main.js index 1e1a1ea46fc6c1..724bc18e9a0b89 100644 --- a/lib/internal/modules/run_main.js +++ b/lib/internal/modules/run_main.js @@ -48,7 +48,6 @@ function resolveMainPath(main) { } catch (err) { if (defaultType === 'module' && err?.code === 'ENOENT') { const { decorateErrorWithCommonJSHints } = require('internal/modules/esm/resolve'); - const { getCWDURL } = require('internal/util'); decorateErrorWithCommonJSHints(err, mainPath, getCWDURL()); } throw err;