Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
TÂCHES 2026-03-13 23:20:17 -06:00 committed by GitHub
parent 079d1751b0
commit c9d626b030

View file

@ -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 });