chore(fmt): Replace dash with colon

dev
Kamil Vavra 2022-03-07 17:18:27 +01:00 committed by GitHub
parent b662f74900
commit 162dfd0e9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ func New(options *Options) (*Integration, error) {
func (i *Integration) CreateNewIssue(event *output.ResultEvent) error {
summary := format.Summary(event)
labels := []string{}
severityLabel := fmt.Sprintf("Severity-%s", event.Info.SeverityHolder.Severity.String())
severityLabel := fmt.Sprintf("Severity:%s", event.Info.SeverityHolder.Severity.String())
if i.options.SeverityAsLabel && severityLabel != "" {
labels = append(labels, severityLabel)
}