Skip to content

Commit

Permalink
Update version/command.go
Browse files Browse the repository at this point in the history
Co-authored-by: Gareth Jones <[email protected]>
  • Loading branch information
caarlos0 and G-Rath authored Dec 13, 2024
1 parent 9bdbe2a commit 3e75876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion version/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func (o Options) Run(ctx *kong.Context) error {
current := ctx.Model.Vars()["versionNumber"]
v, err := semver.NewVersion(current)
if err != nil {
return fmt.Errorf("could parse version %s: %w", current, err)
return fmt.Errorf("could not parse version %s: %w", current, err)
}
if !c.Check(v) {
return fmt.Errorf("gum version %q is not within given range %q", current, o.Constraint)
Expand Down

0 comments on commit 3e75876

Please sign in to comment.