mirror of
https://github.com/nushell/nushell
synced 2025-01-13 05:38:57 +00:00
Cargo fmt
This commit is contained in:
parent
c3b6e9f709
commit
de83d1afef
1 changed files with 1 additions and 2 deletions
|
@ -87,8 +87,7 @@ impl Command for Cd {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
let path =
|
let path = nu_path::expand_path_with(path_no_whitespace, &cwd, true);
|
||||||
nu_path::expand_path_with(path_no_whitespace, &cwd, true);
|
|
||||||
if !path.exists() {
|
if !path.exists() {
|
||||||
return Err(ShellError::DirectoryNotFound {
|
return Err(ShellError::DirectoryNotFound {
|
||||||
dir: path_no_whitespace.to_string(),
|
dir: path_no_whitespace.to_string(),
|
||||||
|
|
Loading…
Reference in a new issue