Skip to content

Commit 10e60b7

Browse files
Fixes Start Work flow not terminating after creating a branch
1 parent 784b4f9 commit 10e60b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/plus/startWork/startWork.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,12 @@ export class StartWorkCommand extends QuickCommand<State> {
229229
},
230230
this.pickedVia,
231231
);
232-
if (result === StepResultBreak) {
232+
if (result !== StepResultBreak) {
233233
state.counter = 0;
234234
continue;
235235
}
236+
237+
endSteps(state);
236238
}
237239

238240
return state.counter < 0 ? StepResultBreak : undefined;

0 commit comments

Comments
 (0)