Skip to content

docs: fix double-negative in comment in internal/runtime/condition.go #2025

@kuishou68

Description

@kuishou68

Documentation Fix

File: internal/runtime/condition.go, line 23

Current comment:

// Error message for the case not all condition was not met

Problem: This comment contains a double-negative: "not all condition was not met". The two negatives cancel each other out, making the comment semantically incorrect and confusing to read.

Fix:

// Error message for when not all conditions are met

This makes the comment clear, grammatically correct (fixes "condition" → "conditions" plural), and removes the double-negative.

Additional: The comment also uses "condition" (singular) when the context refers to multiple conditions, consistent with the function EvalConditions which handles a list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions