summaryrefslogtreecommitdiff
path: root/human.go
diff options
context:
space:
mode:
Diffstat (limited to 'human.go')
-rw-r--r--human.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/human.go b/human.go
index 942c578..1621154 100644
--- a/human.go
+++ b/human.go
@@ -25,7 +25,7 @@ func PrintReport(readonly string, onlydirty string, perfect string) {
continue
}
- if me.forge.Config.IsReadOnly(repo.GoPath()) {
+ if me.forge.Config.IsReadOnly(repo.GetGoPath()) {
if readonly == "true" {
log.Info(header + "readonly")
}
@@ -45,9 +45,9 @@ func PrintReport(readonly string, onlydirty string, perfect string) {
continue
}
log.Info(header + "")
- check := me.forge.Repos.FindByGoPath(repo.GoPath())
+ check := me.forge.FindByGoPath(repo.GetGoPath())
if check == nil {
- log.Info("boo, you didn't git clone", repo.GoPath())
+ log.Info("boo, you didn't git clone", repo.GetGoPath())
continue
}
me.forge.StandardReleaseHeader(check, repo.State())
@@ -60,10 +60,10 @@ func PrintReleaseReport(readonly string, perfect string) int {
log.Info(repolist.ReleaseReportHeader())
- loop := me.forge.Repos.SortByGoPath()
+ loop := me.forge.Repos.SortByFullPath()
for loop.Scan() {
check := loop.Next()
- if me.forge.Config.IsReadOnly(check.GoPath) {
+ if me.forge.Config.IsReadOnly(check.GetGoPath()) {
continue
}
if check.GetCurrentBranchVersion() == check.GetTargetVersion() {
@@ -71,7 +71,7 @@ func PrintReleaseReport(readonly string, perfect string) int {
}
count += 1
if check == nil {
- log.Info("boo, you didn't git clone", check.GoPath)
+ log.Info("boo, you didn't git clone", check.GetGoPath())
continue
}
var state string