diff --git a/javascript/extractor/src/com/semmle/js/extractor/Main.java b/javascript/extractor/src/com/semmle/js/extractor/Main.java index 5b618c550edf..1f3923810c2f 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/Main.java +++ b/javascript/extractor/src/com/semmle/js/extractor/Main.java @@ -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)); }