This commit is contained in:
Dax Raad
2025-08-07 00:41:50 -04:00
parent d45d5d664c
commit 1fb54efdd2
25 changed files with 149 additions and 142 deletions
+1 -2
View File
@@ -1,4 +1,3 @@
import { App } from "../app/app"
import { Bus } from "../bus"
import { File } from "../file"
import { Log } from "../util/log"
@@ -75,7 +74,7 @@ export namespace Format {
log.info("running", { command: item.command })
const proc = Bun.spawn({
cmd: item.command.map((x) => x.replace("$FILE", file)),
cwd: App.info().path.cwd,
cwd: Paths.directory,
env: item.environment,
stdout: "ignore",
stderr: "ignore",