build: Fix branch name delete

This commit is contained in:
2026-03-19 20:07:17 +05:30
parent bfd55e0f9f
commit 29e32ca0f1
+1 -1
View File
@@ -345,7 +345,7 @@ export async function getWorktreesForSession(sessionName: string): Promise<Workt
path: line.slice(9),
};
} else if (line.startsWith("branch ")) {
currentWorktree.branch = line.slice(7);
currentWorktree.branch = line.slice(7).replace(/^refs\/heads\//, "");
}
}