Update sql project file move to use DacFx api (#22064)

* update move to use STS api

* swap rename to use move function

* add try catch

* remove debug statement

* get original path from node
This commit is contained in:
Kim Santiago
2023-02-28 14:31:49 -08:00
committed by GitHub
parent 2ca093f15f
commit bc85f52dd4
2 changed files with 37 additions and 18 deletions

View File

@@ -664,3 +664,4 @@ export const movingFilesBetweenProjectsNotSupported = localize('movingFilesBetwe
export function errorMovingFile(source: string, destination: string, error: string) { return localize('errorMovingFile', "Error when moving file from {0} to {1}. Error: {2}", source, destination, error); }
export function moveConfirmationPrompt(source: string, destination: string) { return localize('moveConfirmationPrompt', "Are you sure you want to move {0} to {1}?", source, destination); }
export const move = localize('Move', "Move");
export function errorRenamingFile(source: string, destination: string, error: string) { return localize('errorRenamingFile', "Error when renaming file from {0} to {1}. Error: {2}", source, destination, error); }