mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
JS: Only extract included files with a given tsconfig
This commit is contained in:
@@ -590,7 +590,7 @@ function handleOpenProjectCommand(command: OpenProjectCommand) {
|
||||
|
||||
console.log(JSON.stringify({
|
||||
type: "project-opened",
|
||||
files: program.getSourceFiles().map(sf => pathlib.resolve(sf.fileName)),
|
||||
files: config.fileNames.map(file => pathlib.resolve(file)),
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user