mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 10:37:13 +02:00
Fix issue with updating package which was deleted manually by user // Resolve #555
This commit is contained in:
@ -29,6 +29,8 @@ PlatformIO 2.0
|
||||
or `PLATFORMIO_BUILD_SRC_FLAGS <http://docs.platformio.org/en/latest/envvars.html#platformio-build-src-flags>`__
|
||||
* Fixed invalid detecting of compiler type
|
||||
(`issue #550 <https://github.com/platformio/platformio/issues/550>`_)
|
||||
* Fixed issue with updating package which was deleted manually by user
|
||||
(`issue #555 <https://github.com/platformio/platformio/issues/555>`_)
|
||||
|
||||
|
||||
2.8.4 (2016-02-17)
|
||||
|
@ -126,7 +126,8 @@ class PackageManager(object):
|
||||
click.secho("Not installed", fg="yellow")
|
||||
return False
|
||||
|
||||
rmtree(join(self._package_dir, name))
|
||||
if isdir(join(self._package_dir, name)):
|
||||
rmtree(join(self._package_dir, name))
|
||||
self._unregister(name)
|
||||
click.echo("[%s]" % click.style("OK", fg="green"))
|
||||
|
||||
|
Reference in New Issue
Block a user