From 4b1c341cedf15d375ee9e7cc99b794f8dd01aaca Mon Sep 17 00:00:00 2001 From: andrewshab <152420261+andrewshab3@users.noreply.github.com> Date: Thu, 22 Jan 2026 13:43:19 +0100 Subject: [PATCH] fix: remove redundant clone (#21300) --- crates/cli/commands/src/db/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cli/commands/src/db/mod.rs b/crates/cli/commands/src/db/mod.rs index f813924efb..cdf37cbc57 100644 --- a/crates/cli/commands/src/db/mod.rs +++ b/crates/cli/commands/src/db/mod.rs @@ -162,7 +162,7 @@ impl> Command let access_rights = if command.dry_run { AccessRights::RO } else { AccessRights::RW }; db_exec!(self.env, tool, N, access_rights, { - command.execute(&tool, ctx.task_executor.clone(), &data_dir)?; + command.execute(&tool, ctx.task_executor, &data_dir)?; }); } Subcommands::StaticFileHeader(command) => {