Skip to content

Commit cf31ef4

Browse files
committed
make sure reset() is called when manually invoking the TS extractor, so environment-variables are read
1 parent c246a9c commit cf31ef4

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -886,6 +886,7 @@ if (process.argv.length > 2) {
886886
if (argument === "--version") {
887887
console.log("parser-wrapper with TypeScript " + ts.version);
888888
} else if (pathlib.basename(argument) === "tsconfig.json") {
889+
reset();
889890
handleOpenProjectCommand({
890891
command: "open-project",
891892
tsConfig: argument,

0 commit comments

Comments
 (0)