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 authored and bschuhmann committed Nov 16, 2024
1 parent 6f27365 commit f907550
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 f907550

Please sign in to comment.