diff --git a/scripts/claude-assistant/index.ts b/scripts/claude-assistant/index.ts index 9963bd4a..fa78ac46 100644 --- a/scripts/claude-assistant/index.ts +++ b/scripts/claude-assistant/index.ts @@ -122,7 +122,7 @@ function setupFixBranch(ctx: Context): void { } // Fetch latest to ensure we have the PR branch - git("fetch", "origin", ctx.headBranch); + gitOrFail("fetch", "origin", ctx.headBranch); // Check if branch already exists if (branchExists(ctx.fixBranch)) {