Fix wording, docs and style inconsistencies per audit of 0139564

This commit is contained in:
Ian Gulliver
2026-10-23 18:36:11 -07:00
parent 5a21396775
commit 681cc2b090
42 changed files with 469 additions and 453 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ func Parse(data []byte) (api.WorkflowDefinition, error) {
dec.DisallowUnknownFields()
err := dec.Decode(&def)
if err != nil {
return api.WorkflowDefinition{}, fmt.Errorf("%w: %v", ErrInvalid, err)
return api.WorkflowDefinition{}, fmt.Errorf("%w: %w", ErrInvalid, err)
}
return def, Validate(def)
}