From bd0cadbf7a7ae5d168ded881607506e415e1bae2 Mon Sep 17 00:00:00 2001 From: nicholaslyang Date: Thu, 1 Aug 2024 16:42:50 -0400 Subject: [PATCH] Fix clippy --- crates/turborepo-lib/src/commands/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/turborepo-lib/src/commands/mod.rs b/crates/turborepo-lib/src/commands/mod.rs index 0d6371cfb5cffe..3e81957baffe14 100644 --- a/crates/turborepo-lib/src/commands/mod.rs +++ b/crates/turborepo-lib/src/commands/mod.rs @@ -70,7 +70,7 @@ impl CommandBase { .with_token(self.args.token.clone()) .with_timeout(self.args.remote_cache_timeout) .with_preflight(self.args.preflight.then_some(true)) - .with_ui(self.args.ui.map(|ui| ui).or_else(|| { + .with_ui(self.args.ui.or_else(|| { self.args.execution_args.as_ref().and_then(|args| { if !args.log_order.compatible_with_tui() { Some(UIMode::Stream)