reformat debug print statements

This commit is contained in:
2026-05-29 04:10:27 -06:00
parent fb01c49045
commit 9e71c4e828
+2 -2
View File
@@ -57,7 +57,7 @@ func (r *RepoSync) Sync() error {
// pass through to cover initialization of repos // pass through to cover initialization of repos
slog.Warn("failed to read current db", "err", err) slog.Warn("failed to read current db", "err", err)
} }
fmt.Printf("cached pkgs: %v", cachedPkgs) fmt.Printf("cached pkgs: %v\n", cachedPkgs)
// call cache db fetch // call cache db fetch
slog.Info("refreshing databases") slog.Info("refreshing databases")
@@ -73,7 +73,7 @@ func (r *RepoSync) Sync() error {
slog.Warn("failed to get updatable pkgs list", "err", err) slog.Warn("failed to get updatable pkgs list", "err", err)
return err return err
} }
fmt.Printf("updatable pkgs: %v", pkgsToUpdate) fmt.Printf("updatable pkgs: %v\n", pkgsToUpdate)
for _, fileName := range pkgsToUpdate { for _, fileName := range pkgsToUpdate {
slog.Debug("fetching pkgs", "pkg", fileName) slog.Debug("fetching pkgs", "pkg", fileName)