Skip to content

Commit

Permalink
TC-1177 spog-ui Add advisory score: clippy
Browse files Browse the repository at this point in the history
Signed-off-by: mrizzi <[email protected]>
  • Loading branch information
mrizzi committed Jun 12, 2024
1 parent 278db22 commit 3945b96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spog/ui/src/pages/sbom_report/details/cve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub fn details(props: &DetailsProperties) -> Html {
<Severity {severity} />
}
{", "}<strong>{"CVSS"}</strong>{" score is "}
if let Some(cvss) = adv.cvss_max.clone() {
if let Some(cvss) = adv.cvss_max {
{cvss}
}
{")"}
Expand Down

0 comments on commit 3945b96

Please sign in to comment.