Skip to content

Commit

Permalink
Merge pull request #10 from tylermaginnis/feature/TM_skip-upgrade-if-…
Browse files Browse the repository at this point in the history
…unchanged

Suppress the single exit_code warning for unused variables in text.rs
  • Loading branch information
tylermaginnis authored Aug 27, 2024
2 parents 762dd6c + 12810ef commit 9ab3877
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/output/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ fn process_message(msg: &Arc<Message>, state: &mut State) {
command,
result,
installation,
#[allow(unused_variables)] // Suppress warning for this variable
exit_code,
} = hr.as_ref();
let result_str = hr.result_line();
Expand Down

0 comments on commit 9ab3877

Please sign in to comment.