Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/commands/extract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export async function extractWorktreeHandler(
}
}

console.log(chalk.green(`\nWorktree extracted at ${resolvedPath}.`));
console.log(chalk.green(`\nWorktree extracted at ${resolvedPath} .`));
if (options.install) {
console.log(chalk.green(`Dependencies installed using ${options.install}.`));
}
Expand Down
2 changes: 1 addition & 1 deletion src/commands/new.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export async function newWorktreeHandler(
}
}

console.log(chalk.green(`Worktree ${directoryExists ? "opened" : "created"} at ${resolvedPath}.`));
console.log(chalk.green(`Worktree ${directoryExists ? "opened" : "created"} at ${resolvedPath} .`));
if (!directoryExists && options.install) {
console.log(chalk.green(`Dependencies installed using ${options.install}.`));
}
Expand Down
4 changes: 2 additions & 2 deletions src/commands/pr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -405,11 +405,11 @@ export async function prWorktreeHandler(
await execa(editorCommand, [resolvedPath], { stdio: "ignore", detached: true });
} catch (editorError) {
console.error(chalk.red(`Failed to open editor "${editorCommand}". Please ensure it's installed and in your PATH.`));
console.warn(chalk.yellow(`Worktree is ready at ${resolvedPath}. You can open it manually.`));
console.warn(chalk.yellow(`Worktree is ready at ${resolvedPath} . You can open it manually.`));
}
}

console.log(chalk.green(`Worktree for ${requestType} #${prNumber} (${prBranchName}) ${worktreeCreated ? "created" : "found"} at ${resolvedPath}.`));
console.log(chalk.green(`Worktree for ${requestType} #${prNumber} (${prBranchName}) ${worktreeCreated ? "created" : "found"} at ${resolvedPath} .`));
if (worktreeCreated && options.install) {
console.log(chalk.green(`Dependencies installed using ${options.install}.`));
}
Expand Down
2 changes: 1 addition & 1 deletion src/commands/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export async function setupWorktreeHandler(
}
}

console.log(chalk.green(`Worktree ${directoryExists ? "opened" : "created"} at ${resolvedPath}.`));
console.log(chalk.green(`Worktree ${directoryExists ? "opened" : "created"} at ${resolvedPath} .`));
if (!directoryExists && options.install) {
console.log(chalk.green(`Dependencies installed using ${options.install}.`));
}
Expand Down