Skip to content
  • Vinicius Stock's avatar
    3db3bd10
    Use Pathnames for comparisons in the engine rake tasks · 3db3bd10
    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
    3db3bd10
    Use Pathnames for comparisons in the engine rake tasks
    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
Loading