Fix broken symlinks not being removed

`Path::exists()` returns false for broken symlinks:

https://doc.rust-lang.org/std/path/struct.Path.html#method.exists
This commit is contained in:
Robbert van der Helm
2020-07-27 16:10:27 +02:00
parent 1113e43b03
commit 81696f4dde
2 changed files with 10 additions and 2 deletions
+6
View File
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic
Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### yabridgectl
- Fixed issue with overwriting broken symlinks during `yabridgectl sync`.
## [1.4.0] - 2020-07-26
### Added