Skip to content

Commit 07e4faf

Browse files
committed
fix: support spaces in base injected env
1 parent a4286d8 commit 07e4faf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/executor/helpers/run_with_env.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ fn create_env_file(extra_env: &HashMap<String, String>) -> Result<NamedTempFile>
5454
let system_env = get_exported_system_env()?;
5555
let base_injected_env = extra_env
5656
.iter()
57-
.map(|(k, v)| format!("export {k}={v}"))
57+
.map(|(k, v)| format!("export {k}='{v}'"))
5858
.collect::<Vec<_>>()
5959
.join("\n");
6060

0 commit comments

Comments
 (0)