Skip to content

Commit

Permalink
chore: Fix overwritten run method from oclif
Browse files Browse the repository at this point in the history
  • Loading branch information
mkleszcz committed Sep 21, 2023
1 parent a725c1c commit 828cc0f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/base.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ export abstract class BaseCommand<T extends typeof Command> extends Command {
let result;
try {
// remove redirected env var to allow subsessions to run autoupdated client
delete process.env[this.config.scopedEnvVarKey('REDIRECTED')];
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
this.removeEnvVar('REDIRECTED');
await this.init();

result = await (!SB_TELEMETRY_DISABLED && this.tracer
Expand Down

0 comments on commit 828cc0f

Please sign in to comment.