Skip to content

Commit

Permalink
Allow unused mut for OS compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
DervexDev committed Jun 25, 2024
1 parent b6ae98f commit cc78a6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/program.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ impl Program {

let package_manager = Config::new().package_manager.as_str();

#[allow(unused_mut)]
let mut program = match (&self.program, package_manager) {
(ProgramName::Npm, _) => package_manager,
(ProgramName::Npx, "npm") => "npx",
Expand Down

0 comments on commit cc78a6b

Please sign in to comment.