pub use to simplify usage

This commit is contained in:
pegasus.cadence@gmail.com
2024-11-20 16:52:16 -08:00
parent 5dafde462a
commit 14b6da359a
5 changed files with 11 additions and 10 deletions

View File

@ -858,8 +858,7 @@ fn do_auto_cd(
report_shell_error(engine_state, &err);
return;
};
use nu_path::pwd_per_drive::pwd_per_drive_singleton::set_pwd_per_drive;
let _as_is = set_pwd_per_drive(PathBuf::from(path.clone()).as_path());
let _ = nu_path::set_pwd_per_drive(PathBuf::from(path.clone()).as_path());
let cwd = Value::string(cwd, span);
let shells = stack.get_env_var(engine_state, "NUSHELL_SHELLS");