Skip to content

Commit 790d9d4

Browse files
dvtkrlbsjyn514
andauthored
Update src/bootstrap/config.rs
Co-authored-by: Joshua Nelson <[email protected]>
1 parent e248523 commit 790d9d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/config.rs

+1
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,7 @@ impl Config {
821821
.and_then(|output| if output.status.success() { Some(output) } else { None });
822822
if let Some(output) = output {
823823
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.
824825
let git_root = PathBuf::from(git_root.trim()).canonicalize().unwrap();
825826
let s = git_root.to_str().unwrap();
826827

0 commit comments

Comments
 (0)