diff --git a/platformio/commands/run.py b/platformio/commands/run.py index 1ee3e476..7f79c506 100644 --- a/platformio/commands/run.py +++ b/platformio/commands/run.py @@ -184,7 +184,7 @@ def _clean_pioenvs_dir(): if (isdir(pioenvs_dir) and getmtime(join(util.get_project_dir(), "platformio.ini")) > getmtime(pioenvs_dir)): - rmtree(pioenvs_dir) + rmtree(pioenvs_dir) # check project structure if isdir(pioenvs_dir) and isfile(structhash_file):