From 6f5241afb5bd1d6a1a8724bf06cc6f205c279402 Mon Sep 17 00:00:00 2001 From: Soccera1 <129828376+Soccera1@users.noreply.github.com> Date: Sat, 18 Jul 2026 09:27:17 +1000 Subject: Refactor to single call --- bin/bnu.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/bnu.js') diff --git a/bin/bnu.js b/bin/bnu.js index b451084..9d1917e 100755 --- a/bin/bnu.js +++ b/bin/bnu.js @@ -5,7 +5,8 @@ import { pathToFileURL } from "node:url"; const here = dirname(realpathSync(Bun.argv[1])); globalThis[Symbol.for("bnu.cli")] = true; -const { commandNames, main } = await import(pathToFileURL(join(here, "../src/coreutils.js")).href); +const { commandNames } = await import(pathToFileURL(join(here, "../src/shared/catalog.js")).href); +const { main } = await import(pathToFileURL(join(here, "../src/shared/runtime.js")).href); let invokedPath = Bun.argv[1]; try { if (process.env._ && realpathSync(process.env._) === realpathSync(Bun.argv[1])) invokedPath = process.env._; -- cgit v1.3