Skip to content

Commit 63df02f

Browse files
authored
Merge pull request #70 from neuroglia-io/fix-exit-flow-directive-validation
Fixed task `exit` flow directive validation
2 parents 75b7a4a + a77656c commit 63df02f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServerlessWorkflow.Sdk/Validation/TaskDefinitionValidator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ protected virtual bool NotAFlowDirective(TaskDefinition task)
102102
{
103103
return task.Then switch
104104
{
105-
null or "" or FlowDirective.Continue or FlowDirective.End or FlowDirective.End => false,
105+
null or "" or FlowDirective.Continue or FlowDirective.End or FlowDirective.Exit => false,
106106
_ => true
107107
};
108108
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy