Drop trailing spaces from files in normalise on Windows
Open
discussion
- Dominant language
- Haskell
- Stars
- 74
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
```
writeFile "foo " ""
writeFile "bar" ""
doesFileExist "foo" -- True
doesFileExist "foo " -- True
doesFileExist "bar " -- True
```
Seemingly any trailing spaces in a path are ignored by Windows. Note that directories behave the same way if they are the last argument, but if you add a path separator, then they don't get their spaces removed. Very weird.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.