Skip to content

Commit

Permalink
Merge pull request #66 from ben-zhang-at-salesforce/sfdxTosf
Browse files Browse the repository at this point in the history
fix: update sfdx command to sf to match dependent command id change
  • Loading branch information
ben-zhang-at-salesforce committed Jun 24, 2024
2 parents 5d8ed87 + 44cbeb8 commit 47eae88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/commands/wizard/authorizeCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class AuthorizeCommand {
if (!result || result.title === l10n.t('No')) {
return Promise.resolve(false);
} else {
await commands.executeCommand('sfdx.org.login.web');
await commands.executeCommand('sf.org.login.web');
await window.showInformationMessage(
l10n.t(
"Once you've authorized your Org, click here to continue."
Expand Down
5 changes: 1 addition & 4 deletions src/commands/wizard/deployToOrgCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ export class DeployToOrgCommand {
currentWorkspace.workspaceFolders[0].uri.fsPath;
const forceAppPath = path.join(workspaceFolderPath, 'force-app');
const forceAppUri = Uri.file(forceAppPath);
await commands.executeCommand(
'sfdx.force.source.deploy.source.path',
forceAppUri
);
await commands.executeCommand('sf.deploy.source.path', forceAppUri);
return Promise.resolve(true);
}
}

0 comments on commit 47eae88

Please sign in to comment.