Currently, soldeer would unconditionally create a new folder for each dependency, regardless of whether the installation was successful. If we attempt failed installation repeatedly under different names, it could lead to the accumulation of multiple empty folders within the dependencies directory.
Changes
With the PR's changes, a new folder for a dependency will only be created if the installation process completes successfully. This improvement prevents the creation of unnecessary empty folders.
Overview
Currently, soldeer would unconditionally create a new folder for each dependency, regardless of whether the installation was successful. If we attempt failed installation repeatedly under different names, it could lead to the accumulation of multiple empty folders within the dependencies directory.
Changes
With the PR's changes, a new folder for a dependency will only be created if the installation process completes successfully. This improvement prevents the creation of unnecessary empty folders.