We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3680613 commit b76842aCopy full SHA for b76842a
1 file changed
shared/tree-sitter-extractor/src/extractor/simple.rs
@@ -122,7 +122,7 @@ impl Extractor {
122
tracing::error!(?path, "No file name found, skipping file.");
123
}
124
Some(filename) => {
125
- let matches = globset.matches(&filename);
+ let matches = globset.matches(filename);
126
if matches.is_empty() {
127
tracing::error!(?path, "No matching language found, skipping file.");
128
} else {
0 commit comments