Skip to content

Commit

Permalink
build.rs clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
owenthewizard committed May 27, 2024
1 parent 4c6cecc commit 0bf0813
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ include!("src/cli.rs");

fn main() -> Result<(), io::Error> {
let outdir = "shell-completions";
fs::create_dir_all(&outdir)?;
fs::create_dir_all(outdir)?;

let mut cmd = Cli::command();
for &shell in Shell::value_variants() {
generate_to(shell, &mut cmd, env!("CARGO_PKG_NAME"), &outdir)?;
generate_to(shell, &mut cmd, env!("CARGO_PKG_NAME"), outdir)?;
}

Ok(())
Expand Down

0 comments on commit 0bf0813

Please sign in to comment.