fix #17393 getHomeDir and expandTilde should not include trailing / (#17398)

* fix #17393 getHomeDir and expandTilde should not include trailing `/`

* changelog
This commit is contained in:
Timothee Cour 2021-03-17 00:25:28 -07:00 • committed by GitHub
commit bebf2ce24a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 2 deletions

View file

@ -234,6 +234,8 @@
- Added `ZZZ` and `ZZZZ` patterns to `times.nim` `DateTime` parsing, to match time
zone offsets without colons, e.g. `UTC+7 -> +0700`.
- In `std/os`, `getHomeDir` and `expandTilde` now do not include trailing `DirSep`, unless `-d:nimLegacyHomeDir` is specified
(for a transition period).
## Language changes