mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-03 07:33:45 +00:00
fix bunfile bug
This commit is contained in:
@@ -8,9 +8,9 @@ export namespace BunProc {
|
||||
options?: Bun.SpawnOptions.OptionsObject<any, any, any>,
|
||||
) {
|
||||
const root =
|
||||
process.argv0 !== "bun"
|
||||
process.argv0 !== "bun" && false
|
||||
? path.resolve(process.cwd(), process.argv0)
|
||||
: process.argv0
|
||||
: "bun"
|
||||
log.info("running", {
|
||||
cmd: [root, ...cmd],
|
||||
options,
|
||||
|
||||
Reference in New Issue
Block a user