Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
jkelleyrtp committed Jan 22, 2025
1 parent da076fa commit ecf0cd6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/cli/src/serve/handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<Vec<_>>()
.join("\n");
_ = std::fs::write(&env_file, contents);

// Push the env file to the device
Expand Down

0 comments on commit ecf0cd6

Please sign in to comment.