Skip to content

Commit

Permalink
Use create instead of create_new
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeder committed Feb 26, 2024
1 parent c1ee80e commit 31ef8cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ impl Output {
},
);

let mut file = File::create_new(&self.path).unwrap();
let mut file = File::create(&self.path).unwrap();

file.write_all(hex::encode(encrypted_data).as_bytes()).unwrap();
file.flush().unwrap();
Expand Down

0 comments on commit 31ef8cc

Please sign in to comment.