Skip to content

Commit

Permalink
JS: Remove call to shouldExtract
Browse files Browse the repository at this point in the history
It always returns true nowadays.
  • Loading branch information
igfoo committed Jul 4, 2024
1 parent 8defd27 commit 95a418a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion javascript/extractor/src/com/semmle/js/extractor/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,6 @@ private void collectFiles(File root, boolean explicit) {
// extract files that are supported, match the layout (if any), pass the includeMatcher,
// and do not pass the excludeMatcher
if (fileExtractor.supports(root)
&& extractorOutputConfig.shouldExtract(root)
&& (explicit || includeMatcher.matches(path) && !excludeMatcher.matches(path))) {
files.add(normalizeFile(root));
}
Expand Down

0 comments on commit 95a418a

Please sign in to comment.