mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
JS: Extract more tsconfig.json patterns
This commit is contained in:
@@ -404,7 +404,7 @@ public class AutoBuild {
|
||||
patterns.add("**/*.view.json"); // SAP UI5
|
||||
patterns.add("**/manifest.json");
|
||||
patterns.add("**/package.json");
|
||||
patterns.add("**/tsconfig*.json");
|
||||
patterns.add("**/*tsconfig*.json");
|
||||
patterns.add("**/codeql-javascript-*.json");
|
||||
|
||||
// include any explicitly specified extensions
|
||||
|
||||
@@ -307,7 +307,7 @@ public class Main {
|
||||
// extract TypeScript if `--typescript` or `--typescript-full` was specified
|
||||
if (getTypeScriptMode(ap) != TypeScriptMode.NONE) {
|
||||
addIncludesFor(includes, FileType.TYPESCRIPT);
|
||||
includes.add("**/tsconfig*.json");
|
||||
includes.add("**/*tsconfig*.json");
|
||||
}
|
||||
|
||||
// add explicit include patterns
|
||||
|
||||
Reference in New Issue
Block a user