mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
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.
This commit is contained in:
@@ -1186,7 +1186,7 @@ protected DependencyInstallationResult preparePackagesAndDependencies(Set<Path>
|
||||
}
|
||||
|
||||
// extract TypeScript projects from 'tsconfig.json'
|
||||
if (typeScriptMode == TypeScriptMode.FULL
|
||||
if (typeScriptMode != TypeScriptMode.NONE
|
||||
&& treatAsTSConfig(file.getFileName().toString())
|
||||
&& !excludes.contains(file)
|
||||
&& isFileIncluded(file)) {
|
||||
|
||||
Reference in New Issue
Block a user