Skip to content

Commit

Permalink
remove --assume-yes flag
Browse files Browse the repository at this point in the history
  • Loading branch information
watzon authored and ripytide committed Nov 24, 2024
1 parent f18caa2 commit 81be29e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/backends/snap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ impl Backend for Snap {
run_command(
["snap", "install"]
.into_iter()
.chain(Some("--assume-yes").filter(|_| no_confirm))
.chain(packages.keys().map(String::as_str)),
Perms::Sudo,
)?;
Expand All @@ -65,7 +64,6 @@ impl Backend for Snap {
run_command(
["snap", "remove"]
.into_iter()
.chain(Some("--assume-yes").filter(|_| no_confirm))
.chain(packages.iter().map(String::as_str)),
Perms::Sudo,
)?;
Expand Down

0 comments on commit 81be29e

Please sign in to comment.