Skip to content

fix: say when a plugin was already installed in dprint install - #1350

Merged
dsherret merged 2 commits into
mainfrom
fix-install-already-installed
Oct 11, 2026
Merged

dsherret merged 2 commits into
mainfrom
fix-install-already-installed

Conversation

@dsherret

Copy link
Copy Markdown
Member

dprint install printed Installed <name> <version> for every plugin, even when it was already in the cache and nothing was downloaded or set up. It now prints Already installed <name> <version> for those.

The plugin cache records which entries the current process set up, and that's surfaced through PluginCacheItem -> create_plugin -> PluginWrapper::was_set_up(). Recording it on the cache (rather than only on a cache miss) means a plugin that dprint install <plugin> just downloaded while adding it to the config is still reported as Installed.

@dsherret
dsherret merged commit 7f081f4 into main Oct 11, 2026
22 checks passed
@dsherret
dsherret deleted the fix-install-already-installed branch October 11, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant