1
0
mirror of https://github.com/nushell/nushell.git synced 2025-04-02 20:27:11 +02:00
nushell/crates/nu-command/tests/commands/path
YizhePKU a1fc41db22
Fix path type using PWD from the environment ()
This PR fixes the `path type` command so that it resolves relative paths
using PWD from the engine state.

As a bonus, it also fixes the issue of `path type` returning an empty
string instead of an error when it fails.
2024-05-26 20:23:52 +03:00
..
basename.rs Add long options for path () 2023-10-19 22:07:01 +02:00
dirname.rs Add long options for path () 2023-10-19 22:07:01 +02:00
exists.rs Avoid taking unnecessary ownership of intermediates () 2024-05-04 00:53:15 +00:00
expand.rs Avoid taking unnecessary ownership of intermediates () 2024-05-04 00:53:15 +00:00
join.rs Allow parse-time evaluation of calls, pipelines and subexpressions () 2023-08-26 16:41:29 +03:00
mod.rs remove warnings in nu_command tests () 2023-08-29 13:18:52 -07:00
parse.rs bump rust-toolchain to 1.72.1 () 2023-11-16 15:14:45 -06:00
split.rs Allow parse-time evaluation of calls, pipelines and subexpressions () 2023-08-26 16:41:29 +03:00
type_.rs Fix path type using PWD from the environment () 2024-05-26 20:23:52 +03:00