Skip to content

Commit 281ccf7

Browse files
committed
JavaScript: Extract tsconfig.json also in basic mode
This is needed for the logic that skips files inside the directory specified in the `tsconfig.json` `outDir` compiler option.
1 parent 619256e commit 281ccf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,7 @@ public FileVisitResult visitFile(Path file, BasicFileAttributes attrs)
11861186
}
11871187

11881188
// extract TypeScript projects from 'tsconfig.json'
1189-
if (typeScriptMode == TypeScriptMode.FULL
1189+
if (typeScriptMode != TypeScriptMode.NONE
11901190
&& treatAsTSConfig(file.getFileName().toString())
11911191
&& !excludes.contains(file)
11921192
&& isFileIncluded(file)) {

0 commit comments

Comments
 (0)