diff options
Diffstat (limited to 'doStrict.go')
| -rw-r--r-- | doStrict.go | 6 |
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 |
