Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

fix: use scopedEnvVarKeys for bin aliases #397

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .git2gus/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"productTag": "a1aB0000000ce2IIAQ",
"defaultBuild": "offcore.tooling.55",
"issueTypeLabels": { "enhancement": "USER STORY", "bug": "BUG P3" },
"hideWorkItemUrl": true,
"statusWhenClosed": "CLOSED"
}
2 changes: 1 addition & 1 deletion src/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Loading