We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e248523 commit 790d9d4Copy full SHA for 790d9d4
src/bootstrap/config.rs
@@ -821,6 +821,7 @@ impl Config {
821
.and_then(|output| if output.status.success() { Some(output) } else { None });
822
if let Some(output) = output {
823
let git_root = String::from_utf8(output.stdout).unwrap();
824
+ // We need to canonicalize this path to make sure it uses backslashes instead of forward slashes.
825
let git_root = PathBuf::from(git_root.trim()).canonicalize().unwrap();
826
let s = git_root.to_str().unwrap();
827
0 commit comments