mario-eth / soldeer

Solidity Package Manager written in rust
MIT License
143 stars 13 forks source link

Improvement: create dependency folders only after successful install #63

Closed huyhuynh3103 closed 3 weeks ago

huyhuynh3103 commented 3 weeks ago

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.