Merge pull request #1141 from ViViDboarder/fix-macos-path

Trim newlines from end of path on macOS
macos-click-through
shaunsingh 3 years ago committed by GitHub
commit f7845c7792
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -209,7 +209,10 @@ fn handle_macos() {
.arg(cmd)
.output()
{
env::set_var("PATH", std::str::from_utf8(&path.stdout).unwrap());
env::set_var(
"PATH",
std::str::from_utf8(&path.stdout).unwrap().trim_end(),
);
}
}
}

Loading…
Cancel
Save