diff --git a/.git2gus/config.json b/.git2gus/config.json new file mode 100644 index 00000000..62c66207 --- /dev/null +++ b/.git2gus/config.json @@ -0,0 +1,7 @@ +{ + "productTag": "a1aB0000000ce2IIAQ", + "defaultBuild": "offcore.tooling.55", + "issueTypeLabels": { "enhancement": "USER STORY", "bug": "BUG P3" }, + "hideWorkItemUrl": true, + "statusWhenClosed": "CLOSED" +} diff --git a/src/command.ts b/src/command.ts index a765ddb4..12157404 100644 --- a/src/command.ts +++ b/src/command.ts @@ -103,7 +103,7 @@ export default abstract class Command { let err: Error | undefined try { // remove redirected env var to allow subsessions to run autoupdated client - delete process.env[this.config.scopedEnvVarKey('REDIRECTED')] + this.config.scopedEnvVarKeys('REDIRECTED').map(k => delete process.env[k]) await this.init() return await this.run()