diff --git a/src/base.command.ts b/src/base.command.ts index 3470088..0bba184 100644 --- a/src/base.command.ts +++ b/src/base.command.ts @@ -45,7 +45,9 @@ export abstract class BaseCommand 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