Skip to content

Commit 0331100

Browse files
committed
Add logs
1 parent 9d3ad26 commit 0331100

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tools/cli/internal/breakingchanges/exemptions.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ func GetValidExemptionsList(exemptionsPath string, ignoreExpiration bool, fs afe
8989
validExemptions = append(validExemptions, exemption)
9090
}
9191
}
92+
93+
log.Printf("Found %d valid exemptions", len(validExemptions))
9294
return validExemptions, nil
9395
}
9496

tools/cli/internal/changelog/outputfilter/hide.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ func hideByIDs(entries []*OasDiffEntry, ids []string) ([]*OasDiffEntry, error) {
5656
// hideByExemptions hides entries based on the exemptions
5757
func hideByExemptions(entries []*OasDiffEntry, exemptions []breakingchanges.Exemption) ([]*OasDiffEntry, error) {
5858
exemptionsMarkedHidden := breakingchanges.GetHiddenExemptions(exemptions)
59+
log.Printf("Found %d exemptions marked hidden from the changelog.", len(exemptionsMarkedHidden))
5960
hiddenEntries := 0
6061
for _, entry := range entries {
6162
if entry.HideFromChangelog {

0 commit comments

Comments
 (0)