Skip to content

Commit

Permalink
Fix clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAlexDev23 committed Oct 14, 2024
1 parent a006cee commit 1881702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/power-daemon/src/helpers/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub fn run_command(command_name: &str) {

let output = command
.spawn()
.expect(&format!("Could not spawn command: {command_name}"))
.unwrap_or_else(|e| panic!("Could not run command {command_name}: {e}"))
.wait_with_output()
.expect("Could not wait command");

Expand Down

0 comments on commit 1881702

Please sign in to comment.