Fix chooseHubBranch when latest() doesn't work (#2178)
* Fix chooseHubBranch when latest() doesn't works
This commit is contained in:
parent
d286b044e7
commit
c0e6c1ac78
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,8 @@ import (
|
|||
func chooseHubBranch() (string, error) {
|
||||
latest, err := cwversion.Latest()
|
||||
if err != nil {
|
||||
return "master", err
|
||||
//lint:ignore nilerr reason
|
||||
return "master", nil // ignore
|
||||
}
|
||||
|
||||
csVersion := cwversion.VersionStrip()
|
||||
|
|
Loading…
Reference in a new issue