Remove parent from sql project tree items (#21912)

* update getFileProjectEntry and getRelativePath

* remove root and fix tests

* remove parent from sql project tree items
This commit is contained in:
Kim Santiago
2023-02-14 14:53:39 -08:00
committed by GitHub
parent fe25674401
commit 4f6fe5955d
6 changed files with 39 additions and 44 deletions

View File

@@ -14,9 +14,8 @@ export abstract class BaseProjectTreeItem {
* Constructor
* @param relativeProjectUri Project-relative URI that's compatible with the project tree
* @param projectFileUri Full URI to the .sqlproj of this project
* @param parent parent tree item
*/
constructor(public relativeProjectUri: vscode.Uri, public projectFileUri: vscode.Uri, public parent?: BaseProjectTreeItem) { }
constructor(public relativeProjectUri: vscode.Uri, public projectFileUri: vscode.Uri) { }
abstract get children(): BaseProjectTreeItem[];