mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-16 17:22:29 -05:00
Handle delete folder for SDK style sql projects (#17961)
* handle delete folder for sdk style projects * cleanup * compare original sqlproj contents * remove redundant checks
This commit is contained in:
@@ -1052,9 +1052,8 @@ export class Project implements ISqlProject {
|
||||
// again when they convert to an SDK-style project
|
||||
if (this.isSdkStyleProject) {
|
||||
// update sqlproj if a node was deleted and load files and folders again
|
||||
if (deleted) {
|
||||
await this.writeToSqlProjAndUpdateFilesFolders();
|
||||
}
|
||||
await this.writeToSqlProjAndUpdateFilesFolders();
|
||||
|
||||
// get latest folders to see if it still exists
|
||||
const currentFolders = await this.readFolders();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user