Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed_variables #3678

Closed
wants to merge 1 commit into from
Closed
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
2 changes: 1 addition & 1 deletion cumulusci/core/config/scratch_org_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def delete_org(self) -> None:
return

p: sarge.Command = sfdx(
"force:org:delete -p", self.username, "Deleting scratch org"
"org delete scratch -p", self.username, "Deleting scratch org"
)
sfdx_output: List[str] = list(p.stdout_text) + list(p.stderr_text)

Expand Down
4 changes: 2 additions & 2 deletions cumulusci/core/sfdx.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def sfdx(
for arg in args:
command += " " + shell_quote(arg)
if username:
command += f" -u {shell_quote(username)}"
command += f" --target-org {shell_quote(username)}"
if log_note:
logger.info(f"{log_note} with command: {command}")
# Avoid logging access token
Expand All @@ -52,7 +52,7 @@ def sfdx(
stdout=sarge.Capture(buffer_size=-1) if capture_output else None,
stderr=sarge.Capture(buffer_size=-1) if capture_output else None,
shell=True,
env={**env, "SFDX_DISABLE_TELEMETRY": "true"},
env={**env, "SF_DISABLE_TELEMETRY": "true"},
)
p.run()
if capture_output:
Expand Down