Cargo fmt

This commit is contained in:
Zhenping Zhao 2024-12-11 11:48:07 -08:00
parent c3b6e9f709
commit de83d1afef

View file

@ -87,8 +87,7 @@ impl Command for Cd {
});
}
} else {
let path =
nu_path::expand_path_with(path_no_whitespace, &cwd, true);
let path = nu_path::expand_path_with(path_no_whitespace, &cwd, true);
if !path.exists() {
return Err(ShellError::DirectoryNotFound {
dir: path_no_whitespace.to_string(),