diff options
Diffstat (limited to 'currentVersions.go')
| -rw-r--r-- | currentVersions.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/currentVersions.go b/currentVersions.go index 1360c3c..2b068c7 100644 --- a/currentVersions.go +++ b/currentVersions.go @@ -57,7 +57,7 @@ func (repo *Repo) setUserVersion() { bname := repo.GetUserBranchName() if !repo.Exists(filepath.Join(".git/refs/heads", bname)) { // the user branch does not exist at this time - repo.UserVersion = "uerr" + repo.UserVersion = "" return } v, err := repo.gitVersionByName(bname) @@ -65,7 +65,7 @@ func (repo *Repo) setUserVersion() { repo.UserVersion = v } else { // log.Log(WARN, "gitpb.GitUserVersion() error:", err) - repo.UserVersion = "uerr" + repo.UserVersion = "" } } |
