Skip to content

Commit

Permalink
Merge pull request #68 from neuroglia-io/fix-67-exit-flow-directive-v…
Browse files Browse the repository at this point in the history
…alidation

fix(Validation): fixed `exit` flow directive validation
  • Loading branch information
cdavernas authored Nov 20, 2024
2 parents 97b11cb + 47bdea2 commit 00d6660
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ protected virtual bool NotAFlowDirective(MapEntry<string, SwitchCaseDefinition>
{
return @case.Value.Then switch
{
null or "" or FlowDirective.Continue or FlowDirective.End or FlowDirective.End => false,
null or "" or FlowDirective.Continue or FlowDirective.End or FlowDirective.Exit => false,
_ => true
};
}
Expand Down

0 comments on commit 00d6660

Please sign in to comment.