Commit f09d3a4f authored by AdminXVII's avatar AdminXVII Committed by Michael Aaron Murphy
Browse files

fix: Use newline instead of ';' to avoid end comments

parent e317e16b
......@@ -271,7 +271,7 @@ pub fn source_sh(args: &[types::Str], _shell: &mut Shell<'_>) -> Status {
Ok(f) => f,
Err(e) => return Status::error(format!("Could not create temp file for source-sh: {}", e)),
};
let script = format!("{};env | sort > {}", arg, temp.as_path().display());
let script = format!("{}\nenv | sort > {}", arg, temp.as_path().display());
match Command::new("sh")
.args(&["-c", &script])
.stdout(Stdio::null())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment