From 86b5650fe5fd8d8b1f240cbed8b9d49cabe020f4 Mon Sep 17 00:00:00 2001 From: Willie Date: Sun, 8 Feb 2026 17:36:51 +0800 Subject: [PATCH] fix: correct ui:build path in mise.toml The multi-line run block is a single shell script, so `cd ui` persisted into subsequent lines, making rm and cp target wrong paths. Wrap in a subshell so the directory change does not leak. --- mise.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mise.toml b/mise.toml index 410a5c5b7..13718ed4d 100644 --- a/mise.toml +++ b/mise.toml @@ -115,7 +115,7 @@ run = "cd ui && pnpm install" description = "Build frontend and copy to embed directory" depends = ["ui:install"] run = """ -cd ui && pnpm run build +(cd ui && pnpm run build) rm -rf internal/server/dist cp -r ui/dist internal/server/dist """