JS: Only extract included files with a given tsconfig

This commit is contained in:
Asger Feldthaus
2020-06-05 13:42:11 +01:00
parent 6ff81377d5
commit cf78475799

View File

@@ -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)),
}));
}