From 5d5f69157050117af2a6f0b850a885fefa55c7ae Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 3 Dec 2024 15:17:35 -0600 Subject: [PATCH] wrong output --- goDebCheck.go | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/goDebCheck.go b/goDebCheck.go index f5e11e7..b07bb7c 100644 --- a/goDebCheck.go +++ b/goDebCheck.go @@ -51,14 +51,14 @@ func (f *Forge) FinalGoDepsCheckOk(check *gitpb.Repo) bool { if depRepo.GetVersion() != found.GetTargetVersion() { check := f.Repos.FindByGoPath(depRepo.GoPath) if f.IsReadOnly(check) { - log.Printf("%-48s ok error %10s vs %10s (ignoring read-only repo)", depRepo.GetGoPath(), depRepo.GetVersion(), found.GetMasterVersion()) + log.Printf("%-48s ok error .%s. vs .%s. (ignoring read-only repo)", depRepo.GetGoPath(), depRepo.GetVersion(), found.GetTargetVersion()) } else { if f.checkOverride(depRepo.GetGoPath()) { - log.Printf("%-48s ok error %10s vs %10s (forge.checkOverride())", depRepo.GetGoPath(), depRepo.GetVersion(), found.GetMasterVersion()) + log.Printf("%-48s ok error .%s. vs .%s. (forge.checkOverride())", depRepo.GetGoPath(), depRepo.GetVersion(), found.GetTargetVersion()) // skip this gopath because it's probably broken forever continue } else { - log.Printf("%-48s error %10s vs %10s", depRepo.GetGoPath(), depRepo.GetVersion(), found.GetMasterVersion()) + log.Printf("%-48s error %10s vs %10s", depRepo.GetGoPath(), depRepo.GetVersion(), found.GetTargetVersion()) good = false } } @@ -76,5 +76,9 @@ func (f *Forge) checkOverride(gopath string) bool { log.Info("checkOverride() is ignoring", gopath) return false } + if gopath == "github.com/posener/complete/v2" { + log.Info("checkOverride() is ignoring", gopath) + return false + } return false }