Skip to content

Commit

Permalink
fix: reverted setting to enable deploy and retrieve commands for sour…
Browse files Browse the repository at this point in the history
…ce-tracked orgs (#4094)
  • Loading branch information
jeffb-sfdc authored May 10, 2022
1 parent ff49172 commit ccf4b1c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 13 deletions.
5 changes: 0 additions & 5 deletions packages/salesforcedx-vscode-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -989,11 +989,6 @@
"type": "boolean",
"default": false,
"description": "%enable_sobject_refresh_on_startup_description%"
},
"salesforcedx-vscode-core.enableDeployAndRetrieveForSourceTrackedOrgs": {
"type": "boolean",
"default": false,
"description": "%enable-deploy-and-retrieve-for-source-tracked-orgs%"
}
}
},
Expand Down
1 change: 0 additions & 1 deletion packages/salesforcedx-vscode-core/package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
"push_or_deploy_on_save_enabled_description": "Specifies whether or not to automatically run force:source:push (for source-tracked orgs) or force:source:deploy (for non-source-tracked orgs) when a local source file is saved.",
"override_conflicts_on_push_description": "Specifies whether to always use --forceoverwrite when you run force:source:push on save",
"conflict_detection_enabled_description": "Specifies whether to enable conflict detection for all deploy commands executed from VS Code",
"enable-deploy-and-retrieve-for-source-tracked-orgs": "Specifies whether to enable the Org Browser and allow use of deploy and retrieve commands when connected to a source-tracked org.",
"conflict_detect_resolve_view": "Org Differences",
"conflict_detect_open_file": "Open File",
"force_manifest_editor_show_text": "SFDX: Show Package Manifest Editor",
Expand Down
2 changes: 0 additions & 2 deletions packages/salesforcedx-vscode-core/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,3 @@ export const SHOW_CLI_SUCCESS_INFO_MSG = 'show-cli-success-msg';
export const TELEMETRY_ENABLED = 'telemetry.enabled';
export const ENABLE_SOBJECT_REFRESH_ON_STARTUP =
'enable-sobject-refresh-on-startup';
export const ENABLE_DEPLOY_AND_RETRIEVE_FOR_SOURCE_TRACKED_ORGS =
'enableDeployAndRetrieveForSourceTrackedOrgs.enabled';
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import * as vscode from 'vscode';
import {
BETA_DEPLOY_RETRIEVE,
CONFLICT_DETECTION_ENABLED,
ENABLE_DEPLOY_AND_RETRIEVE_FOR_SOURCE_TRACKED_ORGS,
INTERNAL_DEVELOPMENT_FLAG,
PUSH_OR_DEPLOY_ON_SAVE_ENABLED,
PUSH_OR_DEPLOY_ON_SAVE_OVERRIDE_CONFLICTS,
Expand Down Expand Up @@ -83,8 +82,4 @@ export class SfdxCoreSettings {
private async setConfigValue(key: string, value: any) {
await this.getConfiguration().update(key, value);
}

public getDeployAndRetrieveForSourceTrackedOrgsEnabled(): boolean {
return this.getConfigValue(ENABLE_DEPLOY_AND_RETRIEVE_FOR_SOURCE_TRACKED_ORGS, false);
}
}

0 comments on commit ccf4b1c

Please sign in to comment.