mirror of
https://github.com/github/codeql.git
synced 2026-02-16 06:53:41 +01:00
JS: Treat more file patterns as as tsconfig.json-like
This commit is contained in:
@@ -1140,7 +1140,7 @@ protected DependencyInstallationResult preparePackagesAndDependencies(Set<Path>
|
||||
|
||||
// extract TypeScript projects from 'tsconfig.json'
|
||||
if (typeScriptMode == TypeScriptMode.FULL
|
||||
&& file.getFileName().endsWith("tsconfig.json")
|
||||
&& (file.getFileName().toString().contains("tsconfig.") && file.getFileName().toString().endsWith(".json"))
|
||||
&& !excludes.contains(file)
|
||||
&& isFileIncluded(file)) {
|
||||
tsconfigFiles.add(file);
|
||||
|
||||
Reference in New Issue
Block a user