From f741a8d54e212a2abdbb9b71de8f48fd5bb6351b Mon Sep 17 00:00:00 2001 From: CHIKAMATSU Naohiro Date: Tue, 10 Sep 2024 20:10:46 +0900 Subject: [PATCH] Fix: check sub command print incorrect path. --- cmd/check.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/check.go b/cmd/check.go index 62129de..6d912da 100644 --- a/cmd/check.go +++ b/cmd/check.go @@ -118,7 +118,7 @@ func doCheck(pkgs []goutil.Package, cpus int) int { v := <-ch if v.err == nil { print.Info(fmt.Sprintf(countFmt+" %s (%s)", - i+1, len(pkgs), v.pkg.ModulePath, v.pkg.VersionCheckResultStr())) + i+1, len(pkgs), v.pkg.ImportPath, v.pkg.VersionCheckResultStr())) } else { result = 1 print.Err(fmt.Errorf(countFmt+"%s", i+1, len(pkgs), v.err.Error()))