Skip to content

Commit

Permalink
fix: always save catalog after syncing
Browse files Browse the repository at this point in the history
  • Loading branch information
iocanel committed Mar 29, 2023
1 parent 573f600 commit 2af0da6
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,11 @@ public boolean sync() {
addPlugin(plugin);
});
state.invalidate();
if (!catalogModified) {
PluginCatalogService pluginCatalogService = state.getPluginCatalogService();
PluginCatalog catalog = state.getPluginCatalog();
pluginCatalogService.writeCatalog(catalog);
}
return catalogModified;
}

Expand Down

0 comments on commit 2af0da6

Please sign in to comment.