Skip to content

Commit

Permalink
fix: renames missing from windows code
Browse files Browse the repository at this point in the history
  • Loading branch information
rawkode committed May 13, 2021
1 parent 543e32e commit 4ae2340
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/atoms/file/chmod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl Atom for Chmod {
}

#[cfg(not(unix))]
impl Atom for FilePermissions {
impl Atom for Chmod {
fn plan(&self) -> bool {
false
}
Expand Down
2 changes: 1 addition & 1 deletion src/atoms/file/chown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl Atom for Chown {
}

#[cfg(not(unix))]
impl Atom for FileOwnership {
impl Atom for Chown {
fn plan(&self) -> bool {
// Never run
false
Expand Down
1 change: 1 addition & 0 deletions src/atoms/file/link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ impl Atom for Link {
} else {
std::os::windows::fs::symlink_file(&self.to, &self.from)?;
}

Ok(())
}
}
Expand Down

0 comments on commit 4ae2340

Please sign in to comment.