-
Vinicius Stock authored
We cannot compare paths directly to strings or that might fail on different operating system. In this case, comparing to `/` fails on Windows and we end up in endless recursion. We need to use `Pathname#root?` to check if we reached the root of the folder structure
Vinicius Stock authoredWe cannot compare paths directly to strings or that might fail on different operating system. In this case, comparing to `/` fails on Windows and we end up in endless recursion. We need to use `Pathname#root?` to check if we reached the root of the folder structure
Loading