nushell/tests/overlays
Wind 122bcff356
fix $env.FILE_PWD and $env.CURRENT_FILE inside overlay use (#15126)
# Description
Fixes: #14540
The change is similar to #14101

User input can be a directory, in this case, we need to use the return
value of find_in_dirs_env carefully, so in case, I renamed
maybe_file_path to maybe_file_path_or_dir to emphasize it.

# User-Facing Changes
NaN

# Tests + Formatting
Added 2 test cases

# After Submitting
2025-03-05 21:13:44 +02:00
..
samples remove let-env, focus on mutating $env (#9574) 2023-07-01 07:57:51 +12:00
mod.rs fix $env.FILE_PWD and $env.CURRENT_FILE inside overlay use (#15126) 2025-03-05 21:13:44 +02:00