Skip to content

Commit

Permalink
Fix hlint suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanCacqueray committed Aug 23, 2023
1 parent 98daca7 commit 1275fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/hsec-tools/src/Security/Advisories/Parse.hs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ parseAdvisoryTable oob policy table doc summary details html = runTableParser $

cats <-
fromMaybe []
<$> optional advisory "cwe" (isArrayOf (isCWE))
<$> optional advisory "cwe" (isArrayOf isCWE)
kwds <-
fromMaybe []
<$> optional advisory "keywords" (isArrayOf (fmap Keyword . isString))
Expand Down

0 comments on commit 1275fab

Please sign in to comment.