We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63329b4 commit 27cff85Copy full SHA for 27cff85
javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java
@@ -794,7 +794,7 @@ private CompletableFuture<?> extractSource() throws IOException {
794
}
795
796
// exclude files in output directories as configured in tsconfig.json
797
- filesToExtract.removeIf(f -> outDirs.stream().anyMatch(od -> f.startsWith(od)));
+ filesToExtract.removeIf(f -> FileType.forFileExtension(f.toFile()) == FileType.JS && outDirs.stream().anyMatch(od -> f.startsWith(od)));
798
799
DependencyInstallationResult dependencyInstallationResult = DependencyInstallationResult.empty;
800
if (!tsconfigFiles.isEmpty()) {
0 commit comments