We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
realpath
1 parent 3c4b106 commit bb75668Copy full SHA for bb75668
src/test.rs
@@ -66,7 +66,7 @@ pub fn worktrees_env_init(repo: &Repository) -> (TempDir, Branch<'_>) {
66
67
#[cfg(windows)]
68
pub fn realpath(original: &Path) -> io::Result<PathBuf> {
69
- Ok(original.to_path_buf())
+ Ok(original.canonicalize()?.to_path_buf())
70
}
71
#[cfg(unix)]
72
0 commit comments