summaryrefslogtreecommitdiff
path: root/gitTag.query.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-29 23:19:09 -0600
committerJeff Carr <[email protected]>2024-11-29 23:19:09 -0600
commite88341d808423e3d5a46f5ee586c783462445670 (patch)
treed5dd8be9e13626d528e92ceb136026bf6d04454b /gitTag.query.go
parent3d260a0219841f4835d6a0d0e370bde483f35d08 (diff)
start moving common things here
Diffstat (limited to 'gitTag.query.go')
-rw-r--r--gitTag.query.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitTag.query.go b/gitTag.query.go
index ef87561..750d501 100644
--- a/gitTag.query.go
+++ b/gitTag.query.go
@@ -89,7 +89,7 @@ func (repo *Repo) gitVersionByName(name string) (string, error) {
}
return strings.TrimSpace(output), nil
}
- if ! repo.IsBranch(name) {
+ if !repo.IsBranch(name) {
// tag does not exist
log.Log(GITPBWARN, "LocalTagExists()", name, "did not exist")
return "", errors.New("gitDescribeByName() git fatal: Not a valid object name: " + name)