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), {