Skip to content

Commit

Permalink
Fix Spectral severity SeverityInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
sebas2day authored and daveshanley committed Oct 2, 2024
1 parent 902e846 commit 518aede
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions model/results.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ func (rr *RuleResultSet) GenerateSpectralReport(source string) []reports.Spectra
case SeverityError:
sev = 0
case SeverityInfo:
sev = 2
case SeverityHint:
sev = 3
}

Expand Down

0 comments on commit 518aede

Please sign in to comment.