Handle NOCVE and module traits
parent
30b8625885
commit
372ec1949a
|
@ -683,9 +683,15 @@ class ReadableText
|
||||||
when 'AKA'
|
when 'AKA'
|
||||||
output << "Also known as:\n"
|
output << "Also known as:\n"
|
||||||
val.each { |aka| output << "#{indent}#{aka}\n" }
|
val.each { |aka| output << "#{indent}#{aka}\n" }
|
||||||
|
when 'NOCVE'
|
||||||
|
output << "CVE not available:\n" \
|
||||||
|
"#{indent}#{val}\n"
|
||||||
when 'RELATED'
|
when 'RELATED'
|
||||||
output << "Related modules:\n"
|
output << "Related modules:\n"
|
||||||
val.each { |related| output << "#{indent}#{related}\n" }
|
val.each { |related| output << "#{indent}#{related}\n" }
|
||||||
|
when 'Stability', 'SideEffects', 'Reliability'
|
||||||
|
# Handled by dump_traits
|
||||||
|
next
|
||||||
else
|
else
|
||||||
# Display the raw note
|
# Display the raw note
|
||||||
output << "#{name}:\n" \
|
output << "#{name}:\n" \
|
||||||
|
|
Loading…
Reference in New Issue