diff options
Diffstat (limited to 'finalGoSumCheck.go')
| -rw-r--r-- | finalGoSumCheck.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/finalGoSumCheck.go b/finalGoSumCheck.go index b905c78..22618eb 100644 --- a/finalGoSumCheck.go +++ b/finalGoSumCheck.go @@ -20,7 +20,7 @@ func (f *Forge) FinalGoDepsCheckOk(check *gitpb.Repo) bool { log.Info("boo, check == nil") return false } - if ! check.Exists("go.mod") { + if !check.Exists("go.mod") { log.Info("go.mod is missing in", check.GoPath) return false } @@ -58,7 +58,7 @@ func (f *Forge) FinalGoDepsCheckOk(check *gitpb.Repo) bool { // log.Info("found dep", depRepo.GetGoPath()) if depRepo.GetVersion() != found.GetTargetVersion() { check := f.Repos.FindByGoPath(depRepo.GoPath) - if f.IsReadOnly(check) { + if f.Config.IsReadOnly(check.GoPath) { log.Printf("%-48s ok error .%s. vs .%s. (ignoring read-only repo)", depRepo.GetGoPath(), depRepo.GetVersion(), found.GetTargetVersion()) } else { if f.checkOverride(depRepo.GetGoPath()) { |
