mirror of
https://github.com/nushell/nushell.git
synced 2025-01-13 09:48:30 +01:00
da8cb14f8b
This PR fixes `select` when given an empty list; it used to return `null` when given an empty list. I also cleaned up other `select` tests while I was in the area. ### Before: ``` > [] | select a | to nuon null ``` ### After: ``` > [] | select a | to nuon [] ``` It looks like the previous behaviour was accidentally introduced by [this PR](https://github.com/nushell/nushell/pull/7639). |
||
---|---|---|
.. | ||
commands | ||
format_conversions | ||
main.rs |