Skip to content

Commit

Permalink
remove unused DeprecationDays field
Browse files Browse the repository at this point in the history
  • Loading branch information
tcdsv committed Jul 10, 2023
1 parent b822509 commit 59a2a19
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion diff/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ type Config struct {
PathPrefixRevision string
PathStripPrefixBase string
PathStripPrefixRevision string
DeprecationDays int
ExcludeElements utils.StringSet
IncludePathParams bool
}
Expand Down
2 changes: 0 additions & 2 deletions internal/changelog_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ type ChangelogFlags struct {
lang string
errIgnoreFile string
warnIgnoreFile string
deprecationDays int
deprecationDaysBeta int
deprecationDaysStable int
}
Expand All @@ -37,7 +36,6 @@ func (flags *ChangelogFlags) toConfig() *diff.Config {
config.PathStripPrefixBase = flags.stripPrefixBase
config.PathStripPrefixRevision = flags.stripPrefixRevision
config.IncludePathParams = flags.includePathParams
config.DeprecationDays = flags.deprecationDays

return config
}
Expand Down

0 comments on commit 59a2a19

Please sign in to comment.