From 32c00c37eaeefe3a65ce2676b3f4b8c28f54fd75 Mon Sep 17 00:00:00 2001 From: jonathanpv Date: Wed, 15 Mar 2023 10:22:09 -0400 Subject: [PATCH] remove clone in vrl_wasm.js --- vdev/src/commands/generate/vrl_wasm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vdev/src/commands/generate/vrl_wasm.rs b/vdev/src/commands/generate/vrl_wasm.rs index ae1880cf70471..92975b7acd6a9 100644 --- a/vdev/src/commands/generate/vrl_wasm.rs +++ b/vdev/src/commands/generate/vrl_wasm.rs @@ -17,7 +17,7 @@ impl Cli { for crate_name in ["compiler", "core", "diagnostic", "parser"] { println!("Compiling lib/vrl/{crate_name} to wasm32-unknown-unknown"); std::env::set_current_dir(vrl_path.join(crate_name))?; - app::exec("cargo", args.clone(), false)?; + app::exec("cargo", *args, false)?; } Ok(()) }