mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +02:00
Ignore legacy tmp pkg folders
This commit is contained in:
@ -196,6 +196,8 @@ class BasePackageManager( # pylint: disable=too-many-public-methods
|
|||||||
|
|
||||||
result = []
|
result = []
|
||||||
for name in sorted(os.listdir(self.package_dir)):
|
for name in sorted(os.listdir(self.package_dir)):
|
||||||
|
if name.startswith("_tmp_installing"): # legacy tmp folder
|
||||||
|
continue
|
||||||
pkg_dir = os.path.join(self.package_dir, name)
|
pkg_dir = os.path.join(self.package_dir, name)
|
||||||
if not os.path.isdir(pkg_dir):
|
if not os.path.isdir(pkg_dir):
|
||||||
continue
|
continue
|
||||||
|
Reference in New Issue
Block a user