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) => {