Skip to content

Commit

Permalink
Use .clone() in compile_vrl_wasm.rs to avoid clippy formatting error
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpv committed Mar 10, 2023
1 parent 5962009 commit bf29919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vdev/src/commands/compile_vrl_wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ impl Cli {
for crate_name in crates {
println!("Compiling lib/vrl/{crate_name} to wasm32-unknown-unknown");
std::env::set_current_dir(vrl_path.join(crate_name))?;
app::exec("cargo", &args, false)?;
app::exec("cargo", args.clone(), false)?;
}
Ok(())
}
Expand Down

0 comments on commit bf29919

Please sign in to comment.