Skip to content

Commit 49ff918

Browse files
committed
docs: fix double-negative in comment in condition.go
The comment '// Error message for the case not all condition was not met' contained a double-negative ('not ... not met') making it confusing. Also fix 'condition' (singular) to 'conditions' (plural) for clarity. New comment: '// Error message for when not all conditions are met' Closes #2025 Signed-off-by: Cocoon-Break <[email protected]>
1 parent 81369ff commit 49ff918

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/runtime/condition.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ var (
2020
ErrConditionNotMet = fmt.Errorf("condition was not met")
2121
)
2222

23-
// Error message for the case not all condition was not met
23+
// Error message for when not all conditions are met
2424
const ErrMsgOtherConditionNotMet = "other condition was not met"
2525

2626
// EvalConditions evaluates a list of conditions and checks the results.

0 commit comments

Comments
 (0)