diff options
| -rw-r--r-- | findNext.go | 2 | ||||
| -rw-r--r-- | http.go | 2 | ||||
| -rw-r--r-- | human.go | 2 | ||||
| -rw-r--r-- | main.go | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/findNext.go b/findNext.go index 225cd65..84730eb 100644 --- a/findNext.go +++ b/findNext.go @@ -31,7 +31,7 @@ func findNext() bool { } else { log.Info("findNext() update needed", check.GoPath, check.GetTargetVersion(), "vs", check.GetCurrentBranchVersion()) } - if me.forge.IsReadOnly(check) { + if me.forge.Config.IsReadOnly(check.GoPath) { log.Info("findNext() skipping readonly") continue } @@ -280,7 +280,7 @@ func showNext() { } else { log.Info("IsPrimitive() == false") } - if me.forge.IsPrivate(check.GoPath) { + if me.forge.Config.IsPrivate(check.GoPath) { log.Info("IsPrivate() == true") } else { log.Info("IsPrivate() == false") @@ -63,7 +63,7 @@ func PrintReleaseReport(readonly string, perfect string) { loop := me.forge.Repos.SortByGoPath() for loop.Scan() { check := loop.Next() - if me.forge.IsReadOnly(check) { + if me.forge.Config.IsReadOnly(check.GoPath) { continue } if check.GetCurrentBranchVersion() == check.GetTargetVersion() { @@ -115,7 +115,7 @@ func main() { } else { repo.Status.SetReadOnly(false) } - if me.forge.IsPrivate(repo.GoPath()) { + if me.forge.Config.IsPrivate(repo.GoPath()) { repo.Status.SetPrivate(true) } else { repo.Status.SetPrivate(false) |
