Open jepler opened 2 years ago
Here's the section of code that did that: https://github.com/adafruit/ci-arduino/blob/cd3b0228f983853ece32d83c64fd331d831829c7/build_platform.py#L191-L194
Ideally, that should have only messed with stuff in /home/jepler/Arduino/libraries/
, since it's invoking the removal via arduino-cli
. Running locally has different behavior? I think maybe best to not use these scripts locally. They're meant to be run in a CI context.
I was trying to test #127 locally and it deleted the whole git repo where I was working. Nothing was lost as I didn't have any un-pushed work, but, OUCH.
I'm guessing it was because one step was
arduino-cli uninstall "Adafruit Floppy"
, the library I was working inside of at the time.