Skip to content
  • Thomas Miedema's avatar
    Bug fix: pathSeparator can be forward slash on Windows · 6ab7023f
    Thomas Miedema authored
    dropTrailingPathSeparator "/" would return "\\" on Windows, since that is the
    default:
    
        pathSeparator = if isWindows then '\\' else '/'
    
    The function `normalise` can be used to normalise pathSeparators in filepaths,
    the function `dropTrailingPathSeparator` shouldn't do it for you.
    
    The test now runs for both Posix as Windows.
    6ab7023f