From eb08b6d9043c3ba7d7e5fa59139518f96f8edeab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leif=20=C3=98deg=C3=A5rd=20Uhlen?= <126719+leifode@users.noreply.github.com> Date: Tue, 5 May 2026 11:04:32 +0200 Subject: [PATCH] more tweaks cjs->esm --- index.js | 2 +- src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 5158632..448a0a4 100644 --- a/index.js +++ b/index.js @@ -17,7 +17,7 @@ const run = async () => { } } - import('./src/index.js')(); + await import('./src/index.js')(); }; run().catch(console.error); diff --git a/src/index.js b/src/index.js index 625a70f..01ca0d4 100644 --- a/src/index.js +++ b/src/index.js @@ -6,7 +6,7 @@ import { handleExtends, handleTagFormat, handleRepositoryUrlOption, -} from './handleOptions'; +} from './handleOptions.js'; import setUpJob from './setUpJob.task'; import installSpecifyingVersionSemantic from './installSpecifyingVersionSemantic.task'; import preInstall from './preInstall.task';