chore(yay): change found repo to debug (#1966)

change found to debug
This commit is contained in:
Jo 2023-03-13 08:55:08 +00:00 committed by GitHub
parent 7bc4a666e6
commit dfa7ed51c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ func (s *Service) UpdateVCSStore(ctx context.Context, targets []map[string]*dep.
continue continue
} }
text.Debugln("updating VCS entry for", srcinfo.Packages[i].Pkgname, fmt.Sprintf("source: %v", srcinfo.Source)) text.Debugln("checking VCS entry for", srcinfo.Packages[i].Pkgname, fmt.Sprintf("source: %v", srcinfo.Source))
s.vcsStore.Update(ctx, srcinfo.Packages[i].Pkgname, srcinfo.Source) s.vcsStore.Update(ctx, srcinfo.Packages[i].Pkgname, srcinfo.Source)
} }
} }

View File

@ -139,7 +139,7 @@ func (v *InfoStore) Update(ctx context.Context, pkgName string, sources []gosrc.
v.OriginsByPackage[pkgName] = info v.OriginsByPackage[pkgName] = info
v.logger.Warnln(gotext.Get("Found git repo: %s", text.Cyan(url))) v.logger.Debugln(gotext.Get("Found git repo: %s", text.Cyan(url)))
if err := v.Save(); err != nil { if err := v.Save(); err != nil {
fmt.Fprintln(os.Stderr, err) fmt.Fprintln(os.Stderr, err)