mirror of
https://github.com/nushell/nushell.git
synced 2025-07-08 10:27:47 +02:00
Revert "Remove std::env::set_current_dir()
call from EngineState::merge_env()
" (#12954)
Reverts nushell/nushell#12922
This commit is contained in:
@ -138,7 +138,7 @@ pub fn check_example_evaluates_to_expected_output(
|
||||
stack.add_env_var("PWD".to_string(), Value::test_string(cwd.to_string_lossy()));
|
||||
|
||||
engine_state
|
||||
.merge_env(&mut stack)
|
||||
.merge_env(&mut stack, cwd)
|
||||
.expect("Error merging environment");
|
||||
|
||||
let empty_input = PipelineData::empty();
|
||||
|
Reference in New Issue
Block a user