Remove canonicalize calls (#6919)

## Summary

A few of these should use `absolute` instead of `canonicalize`; and
apparently we no longer need to strip the `CANONICAL_CWD` to get tests
passing.
This commit is contained in:
Charlie Marsh 2024-09-01 14:23:11 -04:00 committed by GitHub
parent ae3f35cfe2
commit 7e6df8ffd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 47 deletions

View file

@ -119,7 +119,7 @@ pub(crate) fn create(
Err(err) => return Err(Error::Io(err)),
}
let location = location.canonicalize()?;
let location = std::path::absolute(location)?;
let bin_name = if cfg!(unix) {
"bin"