Skip to content

Commit cf78475

Browse files
committed
JS: Only extract included files with a given tsconfig
1 parent 6ff8137 commit cf78475

File tree

1 file changed

+1
-1
lines changed
  • javascript/extractor/lib/typescript/src

1 file changed

+1
-1
lines changed

javascript/extractor/lib/typescript/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ function handleOpenProjectCommand(command: OpenProjectCommand) {
590590

591591
console.log(JSON.stringify({
592592
type: "project-opened",
593-
files: program.getSourceFiles().map(sf => pathlib.resolve(sf.fileName)),
593+
files: config.fileNames.map(file => pathlib.resolve(file)),
594594
}));
595595
}
596596

0 commit comments

Comments
 (0)