mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
make sure reset() is called when manually invoking the TS extractor, so environment-variables are read
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user