From 227abf45e3c5ff40647fc38c8d95e515d260fd17 Mon Sep 17 00:00:00 2001 From: lcampos Date: Fri, 9 Nov 2018 13:51:38 -0800 Subject: [PATCH] Update api used to get workspace path on source:deploy (#738) @W-5608272@ --- .../salesforcedx-vscode-core/src/commands/forceSourceDeploy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/salesforcedx-vscode-core/src/commands/forceSourceDeploy.ts b/packages/salesforcedx-vscode-core/src/commands/forceSourceDeploy.ts index ac7989c08c..fd4996094e 100644 --- a/packages/salesforcedx-vscode-core/src/commands/forceSourceDeploy.ts +++ b/packages/salesforcedx-vscode-core/src/commands/forceSourceDeploy.ts @@ -58,7 +58,7 @@ export class ForceSourceDeployExecutor extends SfdxCommandletExecutor< const cancellationTokenSource = new vscode.CancellationTokenSource(); const cancellationToken = cancellationTokenSource.token; const workspacePath = vscode.workspace.workspaceFolders - ? vscode.workspace.workspaceFolders[0].uri.path + ? vscode.workspace.workspaceFolders[0].uri.fsPath : ''; const execFilePath = response.data.filePath; const execution = new CliCommandExecutor(this.build(response.data), {