mirror of
https://github.com/bendtherules/opencode-multi-model.git
synced 2026-08-18 13:42:21 +00:00
build: Fix branch name delete
This commit is contained in:
+1
-1
@@ -345,7 +345,7 @@ export async function getWorktreesForSession(sessionName: string): Promise<Workt
|
|||||||
path: line.slice(9),
|
path: line.slice(9),
|
||||||
};
|
};
|
||||||
} else if (line.startsWith("branch ")) {
|
} else if (line.startsWith("branch ")) {
|
||||||
currentWorktree.branch = line.slice(7);
|
currentWorktree.branch = line.slice(7).replace(/^refs\/heads\//, "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user