From a10aae01d0f82b8f11818e640639a050cc38f8e5 Mon Sep 17 00:00:00 2001 From: Theo Beers Date: Wed, 5 Aug 2026 13:31:36 -0400 Subject: [PATCH] fix handling of failed version lookup --- cmd/upgrade.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/upgrade.go b/cmd/upgrade.go index c5bece3..41998d1 100644 --- a/cmd/upgrade.go +++ b/cmd/upgrade.go @@ -16,7 +16,7 @@ var upgradeCmd = &cobra.Command{ Short: "Install the latest version of the CLI", Run: func(cmd *cobra.Command, args []string) { info := version.FromContext(cmd.Context()) - if !info.IsOutdated { + if !info.IsOutdated && info.FailedToFetch == nil { fmt.Println("Boot.dev CLI is already up to date.") return }