wrong checks on startup.
This commit is contained in:
parent
a9b2fcecbb
commit
9c7ef1a831
4
main.go
4
main.go
|
@ -31,7 +31,9 @@ func main() {
|
|||
if repo.IsUserBranch() {
|
||||
continue
|
||||
}
|
||||
log.Info("you can not continue if repos are not on master branches")
|
||||
log.Info("not on user branch:", repo.GetCurrentBranchName(), repo.GetMasterBranchName())
|
||||
log.Info("not on user branch:", repo.GetFullPath())
|
||||
log.Info("you can not continue if repos are not on user branches")
|
||||
os.Exit(-1)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue