chore: fix some logging output (#3884)

Signed-off-by: Weston Steimel <author@code.w.steimel.me.uk>
This commit is contained in:
Weston Steimel
2025-05-13 13:15:19 +01:00
committed by GitHub
parent 59b880f26a
commit de88b973f8
8 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ func newGoLicenseResolver(catalogerName string, opts CatalogerConfig) goLicenseR
if vendorDir == "" {
wd, err := os.Getwd()
if err != nil {
log.Debug("unable to get CWD while resolving the local go vendor dir: %v", err)
log.Debugf("unable to get CWD while resolving the local go vendor dir: %v", err)
} else {
vendorDir = filepath.Join(wd, "vendor")
}