Skip to content

Commit

Permalink
Add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
raghavkaul committed Aug 22, 2022
1 parent f26fca3 commit 03ad9f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions checks/evaluation/signed_releases.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ func SignedReleases(name string, dl checker.DetailLogger, r *checker.SignedRelea
score := 0
for _, release := range r.Releases {
if release.ZipballURL == "" && release.TarballURL == "" && len(release.Assets) == 0 {
dl.Warn(&checker.LogMessage{
Text: fmt.Sprintf("Couldn't find assets for release %s at url %s", release.TagName, release.URL),
})
continue
}

Expand Down

0 comments on commit 03ad9f0

Please sign in to comment.