We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e503a4e commit cf319abCopy full SHA for cf319ab
src/commands/git/switch.ts
@@ -183,7 +183,7 @@ export class SwitchGitCommand extends QuickCommand<State> {
183
state.createBranch = undefined;
184
}
185
186
- if (this.confirm(state.confirm || context.switchToLocalFrom != null)) {
+ if (this.confirm(context.switchToLocalFrom != null ? true : state.confirm)) {
187
const result = yield* this.confirmStep(state as SwitchStepState, context);
188
if (result === StepResultBreak) continue;
189
0 commit comments