Skip to content

Commit

Permalink
fix: accidentally printing the memory address of the downloads of a p…
Browse files Browse the repository at this point in the history
…ackage instead of the actual value
  • Loading branch information
TheDevMinerTV committed Jul 20, 2024
1 parent a4dc5b7 commit bf56cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dependency_change.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ func replaceDeps() {
dlsLastWeek, ok := downloads.ForVersion(dep.Version)
if ok {
dep.DownloadsLastWeek = &dlsLastWeek
l.Info().Msgf("Downloads last week: %d", dep.DownloadsLastWeek)
}
dep.TotalDownloads = downloads.Total()
l.Info().Msgf("Downloads last week: %v", dep.DownloadsLastWeek)
}

go func(dep *dependencyPackageInfo) {
Expand Down

0 comments on commit bf56cba

Please sign in to comment.