From c9d626b0309fe17cd8e7455dee6108e8d512800c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=82CHES?= Date: Fri, 13 Mar 2026 23:20:17 -0600 Subject: [PATCH] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- src/resources/extensions/gsd/git-service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/resources/extensions/gsd/git-service.ts b/src/resources/extensions/gsd/git-service.ts index e23fc9bf9..899cdc6f6 100644 --- a/src/resources/extensions/gsd/git-service.ts +++ b/src/resources/extensions/gsd/git-service.ts @@ -138,8 +138,8 @@ export function writeIntegrationBranch(basePath: string, milestoneId: string, br // Skip if already recorded with the same branch (idempotent across restarts). // If recorded with a different branch, update it — the user started auto-mode // from a new branch and expects slices to merge back there (#300). - const existing_branch = readIntegrationBranch(basePath, milestoneId); - if (existing_branch === branch) return; + const existingBranch = readIntegrationBranch(basePath, milestoneId); + if (existingBranch === branch) return; const metaFile = milestoneMetaPath(basePath, milestoneId); mkdirSync(join(basePath, ".gsd", "milestones", milestoneId), { recursive: true });