From 95a418aa14b23bdf009d1b2f2544116f1da94177 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Thu, 4 Jul 2024 09:42:07 +0100 Subject: [PATCH] JS: Remove call to shouldExtract It always returns true nowadays. --- javascript/extractor/src/com/semmle/js/extractor/Main.java | 1 - 1 file changed, 1 deletion(-) 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)); }