Skip to content

Commit

Permalink
Add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
blva committed Oct 24, 2024
1 parent 9d3ad26 commit 0331100
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/cli/internal/breakingchanges/exemptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ func GetValidExemptionsList(exemptionsPath string, ignoreExpiration bool, fs afe
validExemptions = append(validExemptions, exemption)
}
}

log.Printf("Found %d valid exemptions", len(validExemptions))
return validExemptions, nil
}

Expand Down
1 change: 1 addition & 0 deletions tools/cli/internal/changelog/outputfilter/hide.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ func hideByIDs(entries []*OasDiffEntry, ids []string) ([]*OasDiffEntry, error) {
// hideByExemptions hides entries based on the exemptions
func hideByExemptions(entries []*OasDiffEntry, exemptions []breakingchanges.Exemption) ([]*OasDiffEntry, error) {
exemptionsMarkedHidden := breakingchanges.GetHiddenExemptions(exemptions)
log.Printf("Found %d exemptions marked hidden from the changelog.", len(exemptionsMarkedHidden))
hiddenEntries := 0
for _, entry := range entries {
if entry.HideFromChangelog {
Expand Down

0 comments on commit 0331100

Please sign in to comment.