Infra: catch rebase --abort failure to prevent stuck repo state
This commit is contained in:
parent
dc4441322f
commit
9de2e83a31
@ -631,7 +631,7 @@ export async function runGatewayUpdate(opts: UpdateRunnerOptions = {}): Promise<
|
||||
const abortResult = await runCommand(["git", "-C", gitRoot, "rebase", "--abort"], {
|
||||
cwd: gitRoot,
|
||||
timeoutMs,
|
||||
});
|
||||
}).catch(() => ({ stdout: "", stderr: "rebase --abort failed", code: -1 }));
|
||||
steps.push({
|
||||
name: "git rebase --abort",
|
||||
command: "git rebase --abort",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user