Remove root from patched UNC windows path drives
This commit is contained in:
parent
db8f39ce19
commit
9fff960636
@ -246,7 +246,7 @@ fn patch_path_prefix(path: PathBuf) -> PathBuf {
|
||||
format!("{}:", d.to_ascii_uppercase() as char)
|
||||
}
|
||||
Prefix::VerbatimDisk(d) => {
|
||||
format!(r"\\?\{}:\", d.to_ascii_uppercase() as char)
|
||||
format!(r"\\?\{}:", d.to_ascii_uppercase() as char)
|
||||
}
|
||||
_ => return path,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user