mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Quote paths in add package command (#19407)
This commit is contained in:
@@ -237,7 +237,7 @@ export function waitForNewHostFile(): IFileFunctionObject {
|
|||||||
* @param selectedProjectFile is the users selected project file path
|
* @param selectedProjectFile is the users selected project file path
|
||||||
*/
|
*/
|
||||||
export async function addNugetReferenceToProjectFile(selectedProjectFile: string): Promise<void> {
|
export async function addNugetReferenceToProjectFile(selectedProjectFile: string): Promise<void> {
|
||||||
await utils.executeCommand(`dotnet add ${selectedProjectFile} package ${constants.sqlExtensionPackageName} --prerelease`);
|
await utils.executeCommand(`dotnet add "${selectedProjectFile}" package ${constants.sqlExtensionPackageName} --prerelease`);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user