Skip to content

Commit

Permalink
Update models/selective_triggers.go
Browse files Browse the repository at this point in the history
Co-authored-by: Olivér Falvai <[email protected]>
  • Loading branch information
godrei and ofalvai authored Sep 23, 2024
1 parent f34ac63 commit cf581b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/selective_triggers.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func parsePushTriggers(pushTriggersRaw any) ([]PushGitEventTriggerItem, error) {
pushTriggerItemStr := pushTriggerItem.toString()
seenIdx, ok := seenPushItems[pushTriggerItemStr]
if ok {
return nil, fmt.Errorf("'triggers.push[%d]': duplicates the %d. push trigger item", idx, seenIdx)
return nil, fmt.Errorf("'triggers.push[%d]': duplicates push trigger item #%d", idx, seenIdx)
}
seenPushItems[pushTriggerItemStr] = idx

Expand Down

0 comments on commit cf581b7

Please sign in to comment.