You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is due to how the implementation in filepath works - https://hackage.haskell.org/package/filepath-1.4.1.0/docs/System-FilePath-Posix.html#v:makeRelative . While somewhat "correct" to never yield "../", I find that behavior fairly useless. We should choose the behavior that will reduce unexpected errorcases in user code. If .. does go up a directory, then it should be used. Otherwise throw some error like "Couldn't make /some/abs/path relative /a/wonky/path because they don't straightforwardly share an ancestor"
The text was updated successfully, but these errors were encountered:
This is due to how the implementation in filepath works - https://hackage.haskell.org/package/filepath-1.4.1.0/docs/System-FilePath-Posix.html#v:makeRelative . While somewhat "correct" to never yield "../", I find that behavior fairly useless. We should choose the behavior that will reduce unexpected errorcases in user code. If
..
does go up a directory, then it should be used. Otherwise throw some error like "Couldn't make /some/abs/path relative /a/wonky/path because they don't straightforwardly share an ancestor"The text was updated successfully, but these errors were encountered: