Skip to content

Commit

Permalink
fix bug 418 typo while checking jira issue count
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole committed Oct 11, 2024
1 parent b39f739 commit 6b7a12c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/templating/template_description.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@ func EnrichedIssueWithSeverityText(severity string) enrichedIssueOption {
// EnrichedIssueWithCount allows customising the Enriched Issue's Count.
func EnrichedIssueWithCount(count uint) enrichedIssueOption {
return func(ei *enrichedIssue) error {
if count <= 0 {
return errors.Errorf("invalid count %d", count)
}
ei.Count = count
return nil
}
Expand Down

0 comments on commit 6b7a12c

Please sign in to comment.