We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e36d9d commit f7b80baCopy full SHA for f7b80ba
src/views/nodeCache/explorerNodeCache.ts
@@ -27,7 +27,9 @@ class ExplorerNodeCache {
27
}
28
29
public saveNode(node: ExplorerNode): void {
30
- if (node instanceof DataNode && node.uri) {
+ // default package has the same uri as the root package,
31
+ // we skip default package and store the root package here.
32
+ if (node instanceof DataNode && node.uri && node.name !== "default-package") {
33
this.mutableNodeCache.insert(node);
34
35
0 commit comments