mirror of
https://github.com/platformio/platformio-core.git
synced 2025-08-01 02:54:25 +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>`__
|
or `PLATFORMIO_BUILD_SRC_FLAGS <http://docs.platformio.org/en/latest/envvars.html#platformio-build-src-flags>`__
|
||||||
* Fixed invalid detecting of compiler type
|
* Fixed invalid detecting of compiler type
|
||||||
(`issue #550 <https://github.com/platformio/platformio/issues/550>`_)
|
(`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)
|
2.8.4 (2016-02-17)
|
||||||
|
@@ -126,7 +126,8 @@ class PackageManager(object):
|
|||||||
click.secho("Not installed", fg="yellow")
|
click.secho("Not installed", fg="yellow")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
rmtree(join(self._package_dir, name))
|
if isdir(join(self._package_dir, name)):
|
||||||
|
rmtree(join(self._package_dir, name))
|
||||||
self._unregister(name)
|
self._unregister(name)
|
||||||
click.echo("[%s]" % click.style("OK", fg="green"))
|
click.echo("[%s]" % click.style("OK", fg="green"))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user