mirror of
https://github.com/bendtherules/opencode-multi-model.git
synced 2026-08-18 13:42:21 +00:00
fix: console logs branch names directly for close confirmation
This commit is contained in:
+2
-2
@@ -69,10 +69,10 @@ export async function closeMultiModel(options: CloseSessionOptions): Promise<Clo
|
|||||||
|
|
||||||
// If cleanup requested and not forced, ask for confirmation
|
// If cleanup requested and not forced, ask for confirmation
|
||||||
if (options.cleanupWorktrees && !options.force && worktrees.length > 0) {
|
if (options.cleanupWorktrees && !options.force && worktrees.length > 0) {
|
||||||
instructionsArr.push(chalk.red('The following worktrees and branches will be removed:'));
|
console.log(chalk.red('The following worktrees and branches will be removed:'));
|
||||||
worktrees.forEach((wt) => {
|
worktrees.forEach((wt) => {
|
||||||
const msg = ` - ${wt.path} (branch: ${wt.branch})`;
|
const msg = ` - ${wt.path} (branch: ${wt.branch})`;
|
||||||
instructionsArr.push(msg.trim());
|
console.log(msg.trim());
|
||||||
});
|
});
|
||||||
|
|
||||||
const answer = await promptUser(chalk.bold("\nDo you want to proceed? (y/N): "));
|
const answer = await promptUser(chalk.bold("\nDo you want to proceed? (y/N): "));
|
||||||
|
|||||||
Reference in New Issue
Block a user