diff --git a/common/common.go b/common/common.go index 1fcb83d8..5d38d11d 100644 --- a/common/common.go +++ b/common/common.go @@ -61,5 +61,8 @@ func VersionCheck(client *github.Client) (res *github.RepositoryRelease, skip bo fmt.Printf("hit secondary rate limit try again in %s minute", err.(*github.AbuseRateLimitError).RetryAfter) return nil, true } + if err != nil { + return nil, true + } return release, false }