From 9937ef0519ac36c2f6f2726df0671a5e97ed1733 Mon Sep 17 00:00:00 2001 From: Cristian Dominguez Date: Wed, 20 Nov 2024 11:43:54 -0700 Subject: [PATCH] fix: remove ref to `SF_USE_PROGRESS_BAR` env var --- src/commands/project/deploy/resume.ts | 4 ++-- src/commands/project/deploy/start.ts | 6 +----- src/commands/project/deploy/validate.ts | 6 +----- src/commands/project/retrieve/start.ts | 6 +----- 4 files changed, 5 insertions(+), 17 deletions(-) diff --git a/src/commands/project/deploy/resume.ts b/src/commands/project/deploy/resume.ts index f24fcd26..4cf5cdb9 100644 --- a/src/commands/project/deploy/resume.ts +++ b/src/commands/project/deploy/resume.ts @@ -5,7 +5,7 @@ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ -import { EnvironmentVariable, Messages, Org, SfError } from '@salesforce/core'; +import { Messages, Org, SfError } from '@salesforce/core'; import { SfCommand, toHelpSection, Flags } from '@salesforce/sf-plugins-core'; import { DeployResult, MetadataApiDeploy } from '@salesforce/source-deploy-retrieve'; import { Duration } from '@salesforce/kit'; @@ -80,7 +80,7 @@ export default class DeployMetadataResume extends SfCommand { }), }; - public static envVariablesSection = toHelpSection('ENVIRONMENT VARIABLES', EnvironmentVariable.SF_USE_PROGRESS_BAR); + public static envVariablesSection = toHelpSection('ENVIRONMENT VARIABLES'); public static errorCodes = toHelpSection('ERROR CODES', DEPLOY_STATUS_CODES_DESCRIPTIONS); diff --git a/src/commands/project/deploy/start.ts b/src/commands/project/deploy/start.ts index e0133378..600e2985 100644 --- a/src/commands/project/deploy/start.ts +++ b/src/commands/project/deploy/start.ts @@ -166,11 +166,7 @@ export default class DeployMetadata extends SfCommand { ConfigVars.ORG_METADATA_REST_DEPLOY ); - public static envVariablesSection = toHelpSection( - 'ENVIRONMENT VARIABLES', - EnvironmentVariable.SF_TARGET_ORG, - EnvironmentVariable.SF_USE_PROGRESS_BAR - ); + public static envVariablesSection = toHelpSection('ENVIRONMENT VARIABLES', EnvironmentVariable.SF_TARGET_ORG); public static errorCodes = toHelpSection('ERROR CODES', DEPLOY_STATUS_CODES_DESCRIPTIONS); diff --git a/src/commands/project/deploy/validate.ts b/src/commands/project/deploy/validate.ts index 1f52f422..687fef9f 100644 --- a/src/commands/project/deploy/validate.ts +++ b/src/commands/project/deploy/validate.ts @@ -147,11 +147,7 @@ export default class DeployMetadataValidate extends SfCommand ConfigVars.ORG_METADATA_REST_DEPLOY ); - public static envVariablesSection = toHelpSection( - 'ENVIRONMENT VARIABLES', - EnvironmentVariable.SF_TARGET_ORG, - EnvironmentVariable.SF_USE_PROGRESS_BAR - ); + public static envVariablesSection = toHelpSection('ENVIRONMENT VARIABLES', EnvironmentVariable.SF_TARGET_ORG); public static errorCodes = toHelpSection('ERROR CODES', DEPLOY_STATUS_CODES_DESCRIPTIONS); diff --git a/src/commands/project/retrieve/start.ts b/src/commands/project/retrieve/start.ts index 4f5057aa..d7c84187 100644 --- a/src/commands/project/retrieve/start.ts +++ b/src/commands/project/retrieve/start.ts @@ -141,11 +141,7 @@ export default class RetrieveMetadata extends SfCommand { OrgConfigProperties.TARGET_ORG, OrgConfigProperties.ORG_API_VERSION ); - public static envVariablesSection = toHelpSection( - 'ENVIRONMENT VARIABLES', - EnvironmentVariable.SF_TARGET_ORG, - EnvironmentVariable.SF_USE_PROGRESS_BAR - ); + public static envVariablesSection = toHelpSection('ENVIRONMENT VARIABLES', EnvironmentVariable.SF_TARGET_ORG); protected retrieveResult!: RetrieveResult; protected ms: