Skip to content

Commit 701bdca

Browse files
committed
code climate omit severity if empty
1 parent 4e58d5a commit 701bdca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/printers/codeclimate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
// It is just enough to support GitLab CI Code Quality - https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html
1515
type CodeClimateIssue struct {
1616
Description string `json:"description"`
17-
Severity string `json:"severity"`
17+
Severity string `json:"severity,omitempty"`
1818
Fingerprint string `json:"fingerprint"`
1919
Location struct {
2020
Path string `json:"path"`

0 commit comments

Comments
 (0)