From fc653f0807078df735ad86bd8e04280c2df78b67 Mon Sep 17 00:00:00 2001 From: bradleyshep <148254416+bradleyshep@users.noreply.github.com> Date: Mon, 15 Jun 2026 10:11:12 -0400 Subject: [PATCH] lints --- .../xtask-llm-benchmark/src/bench/publishers.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/xtask-llm-benchmark/src/bench/publishers.rs b/tools/xtask-llm-benchmark/src/bench/publishers.rs index 6109b87231..9262297211 100644 --- a/tools/xtask-llm-benchmark/src/bench/publishers.rs +++ b/tools/xtask-llm-benchmark/src/bench/publishers.rs @@ -482,15 +482,15 @@ impl Publisher for TypeScriptPublisher { if let Some(dir) = nodejs_dir { prepend_paths.push(dir); } - if let Some(ref pnpm) = pnpm_exe { - if let Some(parent) = pnpm.parent() { - prepend_paths.push(parent.to_path_buf()); - } + if let Some(ref pnpm) = pnpm_exe + && let Some(parent) = pnpm.parent() + { + prepend_paths.push(parent.to_path_buf()); } - if let Some(node) = node_exe { - if let Some(parent) = node.parent() { - prepend_paths.push(parent.to_path_buf()); - } + if let Some(node) = node_exe + && let Some(parent) = node.parent() + { + prepend_paths.push(parent.to_path_buf()); } let child_path = if !prepend_paths.is_empty() { let mut paths = path_entries();