diff --git a/internal/home/home.go b/internal/home/home.go index da146a6d..5f573876 100644 --- a/internal/home/home.go +++ b/internal/home/home.go @@ -726,7 +726,7 @@ func newUpdater( } err := urlutil.ValidateHTTPURL(versionURL) - if customURL = err == nil; customURL { + if customURL = err == nil; !customURL { l.DebugContext(ctx, "parsing custom version url", slogutil.KeyError, err) versionURL = updater.DefaultVersionURL()