Skip to content

Commit

Permalink
Fixes Start Work flow not terminating after creating a branch
Browse files Browse the repository at this point in the history
  • Loading branch information
axosoft-ramint committed Dec 11, 2024
1 parent 784b4f9 commit 10e60b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/plus/startWork/startWork.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,12 @@ export class StartWorkCommand extends QuickCommand<State> {
},
this.pickedVia,
);
if (result === StepResultBreak) {
if (result !== StepResultBreak) {
state.counter = 0;
continue;
}

endSteps(state);
}

return state.counter < 0 ? StepResultBreak : undefined;
Expand Down

0 comments on commit 10e60b7

Please sign in to comment.