summaryrefslogtreecommitdiff
path: root/doStrict.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-26 10:06:13 -0500
committerJeff Carr <[email protected]>2025-10-26 10:06:13 -0500
commita75e4796680ecf33b74db60b6b780d6e7e6cc0f3 (patch)
treec53b12dc434b1b4d32edb6356388ea181efb4de2 /doStrict.go
parent7f6a5e689d5dee439a037ef815eaee24867c5f84 (diff)
new argv (much better than before)v0.0.129
Diffstat (limited to 'doStrict.go')
-rw-r--r--doStrict.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/doStrict.go b/doStrict.go
index c36278a..0df6ce7 100644
--- a/doStrict.go
+++ b/doStrict.go
@@ -32,10 +32,10 @@ func doStrict(repo *gitpb.Repo) error {
if repo.GetMasterBranchName() != repo.GetCurrentBranchName() {
log.Info("")
- log.Info("You are not operating on your git master branch.")
- log.Info("Publishing go.mod & go.sum files must come from from git version tag on the master branch")
+ log.Info("ERR: You are not operating on your git master branch.")
+ log.Info("ERR: Publishing go.mod & go.sum files must come from from git version tag on the master branch")
log.Info("")
- return errors.New(repo.GetGoPath() + " not in the git master branch")
+ return errors.New("not on the git master branch")
}
// not sure if this really needs to be run a second time. probably not, but whatever. who cares