Skip to content

Commit

Permalink
pm: autoremove only handles platformio packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mcspr committed Jan 23, 2021
1 parent 484567f commit bf393ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platformio/package/manager/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ def autoremove_packages(self, names):
pm = ToolPackageManager()
for pkg in pm.get_installed():
skip_conds = [
pkg.metadata.spec.owner != "platformio",
pkg.metadata.name not in names,
pkg.metadata.spec.url,
pkg.metadata.name in required
Expand Down

0 comments on commit bf393ac

Please sign in to comment.