mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Shared: Fix clippy lint
This commit is contained in:
@@ -122,7 +122,7 @@ impl Extractor {
|
||||
tracing::error!(?path, "No file name found, skipping file.");
|
||||
}
|
||||
Some(filename) => {
|
||||
let matches = globset.matches(&filename);
|
||||
let matches = globset.matches(filename);
|
||||
if matches.is_empty() {
|
||||
tracing::error!(?path, "No matching language found, skipping file.");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user