Skip to content

Commit

Permalink
fix: recreate symlink when the symlink is exist (#15)
Browse files Browse the repository at this point in the history
* fix: relink when the symlink is exist
  • Loading branch information
someoneonsmile authored Oct 19, 2024
1 parent 6babbea commit 850a9e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stow-cm"
version = "0.10.5"
version = "0.10.6"
authors = ["someone"]
edition = "2021"

Expand Down
5 changes: 4 additions & 1 deletion src/merge_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ impl MergeTree {
return Ok(MergeResult {
conflicts: None,
expand_symlinks: None,
to_create_symlinks: None,
to_create_symlinks: Some(vec![Symlink {
src: self.source,
dst: self.target,
}]),
has_ignore: false,
foldable: true,
});
Expand Down

0 comments on commit 850a9e5

Please sign in to comment.