Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Aug 30, 2023
1 parent ec63b1d commit e94e354
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tooling/cli/src/completions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ pub struct Options {

fn completions_for(shell: Shell, manager: &'static str, cmd: Command) -> Vec<u8> {
let tauri = cmd.name("tauri");
let mut command = if manager == "npm" {
Command::new(manager)
.bin_name(manager)
.subcommand(Command::new("run").subcommand(tauri))
} else if manager == "bun" {
let mut command = if manager == "npm" || manager == "bun" {
Command::new(manager)
.bin_name(manager)
.subcommand(Command::new("run").subcommand(tauri))
Expand Down

0 comments on commit e94e354

Please sign in to comment.