Skip to content

Commit

Permalink
no error if newest version is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Joedt committed Oct 31, 2023
1 parent a68cf62 commit c6f356b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/grip.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ func SelfUpdate(version string) error {

res := semver.Compare(currentVersion, assetVersion)
if res >= 0 {
return fmt.Errorf("newest version already installed")
fmt.Printf("newest version already installed\n")
return nil
}

defer func() {
Expand Down

0 comments on commit c6f356b

Please sign in to comment.