Skip to content

fix(cmd): --min-savings-pct has no range validation #2161

Description

@cristim

--min-savings-pct (cmd/main.go:137) is only checked for CSV-mode conflicts. Negative and >100 values are accepted. Add range bounds (decision needed: [0,100]). Split from #2136, which only rejects non-finite values.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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