There was an error while loading. Please reload this page.
1 parent 25a19ed commit 486ecf1Copy full SHA for 486ecf1
1 file changed
cmd/upgrade.go
@@ -16,7 +16,7 @@ var upgradeCmd = &cobra.Command{
16
Short: "Install the latest version of the CLI",
17
Run: func(cmd *cobra.Command, args []string) {
18
info := version.FromContext(cmd.Context())
19
- if !info.IsOutdated {
+ if !info.IsOutdated && info.FailedToFetch == nil {
20
fmt.Println("Boot.dev CLI is already up to date.")
21
return
22
}
0 commit comments