diff --git a/src/commands/wizard/authorizeCommand.ts b/src/commands/wizard/authorizeCommand.ts index dc5e357..4d673f3 100644 --- a/src/commands/wizard/authorizeCommand.ts +++ b/src/commands/wizard/authorizeCommand.ts @@ -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." diff --git a/src/commands/wizard/deployToOrgCommand.ts b/src/commands/wizard/deployToOrgCommand.ts index a945326..278643f 100644 --- a/src/commands/wizard/deployToOrgCommand.ts +++ b/src/commands/wizard/deployToOrgCommand.ts @@ -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); } }