Normalize paths in Windows (fix #113) (#116)

While `//?/C:/Users/Someone/config-files` is a valid path, it's not very human friendly.
Such paths are returned from `BaseDirs`. This patch formats them in the traditional way.
This commit is contained in:
Roey Darwish Dror
2019-01-30 16:00:10 +02:00
committed by GitHub
parent 38552646f4
commit 022115e237
4 changed files with 91 additions and 6 deletions

View File

@@ -27,7 +27,8 @@ test_script:
- if [%APPVEYOR_REPO_TAG%]==[false] (
cargo fmt --all -- --check &&
cargo clippy --all-targets --all-features -- -D warnings &&
cargo clippy --all-targets -- -D warnings
cargo clippy --all-targets -- -D warnings &&
cargo test
)
before_deploy: