mirror of
https://github.com/nushell/nushell
synced 2025-01-12 21:29:07 +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 {
|
||||
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(),
|
||||
|
|
Loading…
Reference in a new issue