oclif/plugin-update

Updates are not cleaned up

pimterry opened this issue · 2 comments

When updating an Oclif CLI, it seems like the old versions and other partially updated versions are not cleaned up. For clis that are frequently updated, that means they take up progressively more and more space with each release, and generally feels a bit messy & wasteful.

Is this expected behaviour? Is there an option somewhere to handle cleanup, or are there any plans to add one in future?

That's been handled, but we never updated the issue. Sorry!

private async tidy(): Promise<void> {

Awesome, thanks @mshanemc!