mario-eth / soldeer

Solidity Package Manager written in rust
MIT License
241 stars 26 forks source link

fix(utils): always consider relative path in hashing #168

Closed beeb closed 3 months ago

beeb commented 3 months ago

Previously, the hash_folder function was not properly normalizing paths to be relative to the root of the considered directory. This lead to hash inconsistencies between environments. It didn't show up in unit tests because the input path was itself relative. A new test has been added that shows the now correct behavior.