Skip to content

Commit

Permalink
fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ripytide committed Jan 7, 2025
1 parent 7a235fb commit 46433de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ impl AddCommand {
))?
.push(self.package);

fs::write(group_file, doc.to_string())
.wrap_err("writing back modified group file {group_file:?}")?;
fs::write(group_file.clone(), doc.to_string())
.wrap_err(eyre!("writing back modified group file {group_file:?}"))?;

Ok(())
}
Expand Down

0 comments on commit 46433de

Please sign in to comment.