Skip to content

Commit 3c5c01c

Browse files
Fixes Open in Worktree showing worktree confirm prompt
1 parent 5bdb0c0 commit 3c5c01c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/git/worktree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ export class WorktreeGitCommand extends QuickCommand<State> {
735735

736736
const confirmations: StepType[] = [];
737737
if (!createDirectlyInFolder) {
738-
if (!state.createBranch && state.skipWorktreeConfirmations) {
738+
if (state.skipWorktreeConfirmations) {
739739
return [defaultOption.context, defaultOption.item];
740740
}
741741

0 commit comments

Comments
 (0)