diff options
| author | Soccera1 <[email protected]> | 2026-07-18 09:27:17 +1000 |
|---|---|---|
| committer | Soccera1 <[email protected]> | 2026-07-18 09:27:17 +1000 |
| commit | 6f5241afb5bd1d6a1a8724bf06cc6f205c279402 (patch) | |
| tree | 2aa852e968f6b89f2c8458333ce3e7c38b3c2450 /bin | |
| parent | a753f669c9bedfccb9f7f400da018bb487dca5d0 (diff) | |
| download | bnu-6f5241afb5bd1d6a1a8724bf06cc6f205c279402.tar.gz bnu-6f5241afb5bd1d6a1a8724bf06cc6f205c279402.zip | |
Refactor to single call
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/bnu.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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._; |
