mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Merge pull request #18807 from asgerf/js/vue-without-tsconfig-fixup
JS: Extract TS snippets with no tsconfig.json file
This commit is contained in:
@@ -1087,6 +1087,12 @@ protected DependencyInstallationResult preparePackagesAndDependencies(Set<Path>
|
||||
remainingTypeScriptFiles.add(f);
|
||||
}
|
||||
}
|
||||
for (Map.Entry<Path, FileSnippet> entry : state.getSnippets().entrySet()) {
|
||||
if (!extractedFiles.contains(entry.getKey())
|
||||
&& FileType.forFileExtension(entry.getKey().toFile()) == FileType.TYPESCRIPT) {
|
||||
remainingTypeScriptFiles.add(entry.getKey());
|
||||
}
|
||||
}
|
||||
if (!remainingTypeScriptFiles.isEmpty()) {
|
||||
extractTypeScriptFiles(remainingTypeScriptFiles, extractedFiles, extractors);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user