fix: remove dead restore control-ui step from update runner

This commit is contained in:
Gustavo Madeira Santana
2026-02-05 22:10:55 -05:00
parent 72245855e5
commit b40da2cb7a
2 changed files with 1 additions and 11 deletions

View File

@@ -746,17 +746,6 @@ export async function runGatewayUpdate(opts: UpdateRunnerOptions = {}): Promise<
);
steps.push(uiBuildStep);
// Restore dist/control-ui/ to committed state to prevent dirty repo after update
// (ui:build regenerates assets with new hashes, which would block future updates)
const restoreUiStep = await runStep(
step(
"restore control-ui",
["git", "-C", gitRoot, "checkout", "--", "dist/control-ui/"],
gitRoot,
),
);
steps.push(restoreUiStep);
const doctorStep = await runStep(
step(
"openclaw doctor",