From ecf0cd68150255fb094145a33128fa61d0659440 Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Tue, 21 Jan 2025 18:52:03 -0800 Subject: [PATCH] fix clippy --- packages/cli/src/serve/handle.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/cli/src/serve/handle.rs b/packages/cli/src/serve/handle.rs index ece852cb31..ce802fbeb6 100644 --- a/packages/cli/src/serve/handle.rs +++ b/packages/cli/src/serve/handle.rs @@ -720,7 +720,11 @@ We checked the folder: {} // Write the env vars to a .env file in our session cache let env_file = session_cache.join(".env"); - let contents: String = envs.iter().map(|(k, v)| format!("{k}={v}\n")).collect(); + let contents: String = envs + .iter() + .map(|(key, value)| format!("{key}={value}")) + .collect::>() + .join("\n"); _ = std::fs::write(&env_file, contents); // Push the env file to the device