Skip to content

Automatic cleanup of the .pio/libdeps folder doesnt work correctly if lib_deps section is empty #5110

Open
@sivar2311

Description

@sivar2311

If the lib_deps section in platformio.ini is changed and no library is listed anymore, the remaining files/folders in the .pio/libdeps folder are not automatically deleted.

https://www.youtube.com/watch?v=nvsInEBOrr8

I could also observe that other dependencies were listed via symlink whose source had already been deleted are not cleaned up correctly. Unfortunately I was not able to reproduce this for the video.

Related forum discussion: https://community.platformio.org/t/difficulties-understanding-the-right-way-to-include-local-libraries/46558

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions