New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pio lib -g uininstall removes source code #1023

Closed
g3rb3n opened this Issue Aug 24, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@g3rb3n

g3rb3n commented Aug 24, 2017

To reproduce this behavior:

mkdir TheLib
mkdir TheLib/src
touch TheLib/src/TheLib.h
touch TheLib/src/TheLib.cpp
touch TheLib/platformio.ini
cd TheLib
pio run
cd ..
pio lib -g install ./TheLib
pio lib -g uninstall TheLib

I would expect my source code to still be under ~/git/TheLib and ~/.platformio/lib/TheLib removed.
But at this stage the source folder ~/git/TheLib is deleted by pio and ~/.platformio/lib/TheLib still exists.

Doing a second
pio lib -g uninstall TheLib
Removes ~/.platformio/lib/TheLib

See: Discussion

@ivankravets ivankravets added this to the 3.5.4 milestone Jun 18, 2018

@ivankravets ivankravets added bug and removed help wanted labels Jun 21, 2018

@ivankravets

This comment has been minimized.

Member

ivankravets commented Jun 21, 2018

Thanks, fixed!

ivankravets added a commit that referenced this issue Jun 21, 2018

Merge branch 'hotfix/v3.5.4' into develop
* hotfix/v3.5.4:
  Fix issue when "platformio lib uninstall" removes initial source code // Resolve #1023

ivankravets added a commit that referenced this issue Jul 3, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment