Public Access
fix: format and lint
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user