Skip to content

Commit

Permalink
DNM: test json schema validation
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanCacqueray committed Dec 11, 2024
1 parent 427cb5e commit 5af5d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/cvss/src/Security/CVSS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ cvssShow :: Bool -> CVSS -> Text
cvssShow ordered cvss = case cvssVersion cvss of
CVSS31 -> Text.intercalate "/" ("CVSS:3.1" : components)
CVSS30 -> Text.intercalate "/" ("CVSS:3.0" : components)
CVSS20 -> Text.intercalate "/" components
CVSS20 -> Text.intercalate "/" ("OOPS" : components)
where
components = map toComponent (cvssOrder (cvssMetrics cvss))
toComponent :: Metric -> Text
Expand Down

0 comments on commit 5af5d6f

Please sign in to comment.