Comments, fix testcase problems found in 'toolkit check pr'

This commit is contained in:
Zhenping Zhao
2024-11-21 10:38:34 -08:00
parent e6b677392a
commit 0ba5efd43d
5 changed files with 25 additions and 3 deletions

View File

@ -858,6 +858,7 @@ fn do_auto_cd(
report_shell_error(engine_state, &err);
return;
};
// Let PWD-per-drive sync with auto_cd target
let _ = nu_path::set_pwd_per_drive(PathBuf::from(path.clone()).as_path());
let cwd = Value::string(cwd, span);