fix #13455 ; joinPath(a,b) now honors trailing slashes in b (or a if b = "") (#13467)

* fix #13455 ; joinPath(a,b) now honors trailing slashes in b (or a if b = "")
* fix test windows
This commit is contained in:
Timothee Cour 2020-02-26 02:25:27 -08:00 • committed by GitHub
commit 0c312ad898
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 47 additions and 17 deletions

View file

@ -29,7 +29,8 @@
are converted to `None`.
- `relativePath("foo", "foo")` is now `"."`, not `""`, as `""` means invalid path
and shouldn't be conflated with `"."`; use -d:nimOldRelativePathBehavior to restore the old
behavioe
behavior
- `joinPath(a,b)` now honors trailing slashes in `b` (or `a` if `b` = "")
### Breaking changes in the compiler