From d16c6697094c687eb25ae1a1c527ae679acb0c99 Mon Sep 17 00:00:00 2001 From: amrbashir Date: Mon, 28 Oct 2024 20:14:07 +0300 Subject: [PATCH] clippy --- crates/tauri-cli/src/helpers/npm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/tauri-cli/src/helpers/npm.rs b/crates/tauri-cli/src/helpers/npm.rs index 129cd46ab..068ff2add 100644 --- a/crates/tauri-cli/src/helpers/npm.rs +++ b/crates/tauri-cli/src/helpers/npm.rs @@ -93,7 +93,7 @@ impl PackageManager { command.arg("add"); match self { - PackageManager::Deno => command.args(dependencies.into_iter().map(|d| format!("npm:{d}"))), + PackageManager::Deno => command.args(dependencies.iter().map(|d| format!("npm:{d}"))), _ => command.args(dependencies), };