benawad / destiny

Prettier for File Structures
MIT License
3.53k stars 80 forks source link

Bugfix/issue 137 #161

Closed Ryan-Florida closed 3 years ago

Ryan-Florida commented 3 years ago

Before submitting the PR, please make sure you do the following

Note for the observant: I know in the original posting they stayed within different folders but I introduced the SomeOtherResource directory to share the dependencies with since one was not necessarily implied in the original posting but this is the same problem just manifesting in a different way.

The underlying problem: When the method to collect shared resources runs, the paths of the sub-dependencies are not updated with the parent resource.

The solution: Recursively update sub-dependency paths.

codecov[bot] commented 3 years ago

Codecov Report

Merging #161 (b32db99) into develop (155f3f5) will increase coverage by 0.14%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #161      +/-   ##
===========================================
+ Coverage    92.83%   92.97%   +0.14%     
===========================================
  Files           22       22              
  Lines          586      598      +12     
  Branches       140      141       +1     
===========================================
+ Hits           544      556      +12     
  Misses          42       42              
Impacted Files Coverage Δ
src/index/generateTrees/toFractalTree.ts 86.66% <100.00%> (+1.72%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 155f3f5...b32db99. Read the comment docs.