We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a82d53c commit ebb4d19Copy full SHA for ebb4d19
code/hsec-tools/src/Security/Advisories/Parse.hs
@@ -184,7 +184,9 @@ parseAdvisoryTable oob policy table doc summary details html = runTableParser $
184
<$> optional advisory "related" (isArrayOf isString)
185
186
affected <- mandatory table "affected" (isArrayOf parseAffected)
187
- references <- mandatory table "references" (isArrayOf parseReference)
+ references <-
188
+ fromMaybe []
189
+ <$> optional table "references" (isArrayOf parseReference)
190
191
pure $ Advisory
192
{ advisoryId = identifier
0 commit comments