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

@ -114,6 +114,7 @@ impl Command for Cd {
//FIXME: this only changes the current scope, but instead this environment variable
//should probably be a block that loads the information from the state in the overlay
PermissionResult::PermissionOk => {
// Let PWD-per-drive sync with cd target
let _ = nu_path::set_pwd_per_drive(path.as_path());
stack.set_cwd(path)?;
Ok(PipelineData::empty())