Skip to content

Commit

Permalink
fix: invalidate catalogs when adding/removing plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
iocanel committed Aug 28, 2024
1 parent 58c2eb5 commit e230c4f
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,17 @@ public Optional<Path> getProjectRoot() {
return this.projectRoot;
}

public void invalidateCatalogs() {
_projectCatalog = null;
_userCatalog = null;
_combinedCatalog = null;
}

public void invalidateInstalledPlugins() {
_userPlugins = null;
_projectPlugins = null;
_installedPlugins = null;
invalidateCatalogs();
}

public void invalidate() {
Expand Down

0 comments on commit e230c4f

Please sign in to comment.