nushell/crates/nu-cmd-lang/src
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
..
core_commands fix $env.FILE_PWD and $env.CURRENT_FILE inside overlay use (#15126) 2025-03-05 21:13:44 +02:00
default_context.rs add attr category @category to custom command attributes (#15137) 2025-02-18 15:35:52 -06:00
example_support.rs fix: clippy warnings with --all-features (#15035) 2025-02-07 12:30:25 +01:00
example_test.rs Implementing ByteStream interuption on infinite stream (#13552) 2025-01-11 13:28:08 -08:00
lib.rs Refactor/fix tests affecting the whole command set (#15073) 2025-02-11 11:36:36 +01:00
parse_const_test.rs Refactor/fix tests affecting the whole command set (#15073) 2025-02-11 11:36:36 +01:00