make sure reset() is called when manually invoking the TS extractor, so environment-variables are read

This commit is contained in:
erik-krogh
2023-12-12 10:51:09 +01:00
parent 96d1573978
commit b5fe0e5709

View File

@@ -886,6 +886,7 @@ if (process.argv.length > 2) {
if (argument === "--version") {
console.log("parser-wrapper with TypeScript " + ts.version);
} else if (pathlib.basename(argument) === "tsconfig.json") {
reset();
handleOpenProjectCommand({
command: "open-project",
tsConfig: argument,