fix: format and lint
CI / Format (push) Successful in 48s
CI / Test (push) Failing after 7m9s
CI / Check (push) Successful in 12m6s
CI / Clippy (push) Successful in 12m10s

This commit is contained in:
Guillaume GRABÉ
2026-06-08 23:51:29 +02:00
parent 6400518beb
commit 1302ce412c
27 changed files with 563 additions and 395 deletions
+4 -4
View File
@@ -149,10 +149,10 @@ fn extract_scanner_fingerprint(result: &SarifResult) -> Option<String> {
return Some(v.clone());
}
}
if let Some(ref fps) = result.fingerprints {
if let Some(v) = fps.values().next() {
return Some(v.clone());
}
if let Some(ref fps) = result.fingerprints
&& let Some(v) = fps.values().next()
{
return Some(v.clone());
}
None
}