mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 16:33:37 +01:00
6bee80dcd7
# Description Fixes: #10895 It's because `reject` and `select` command can't handle list of CellPath input directly. After this pr, the following should be ok: ```nushell ❯ [{'a': 1, 'b': 2, 'c': 3}, {'a': 1, 'b': 2, 'c': 3}] | reject ['a', 'b'] ╭───┬───╮ │ # │ c │ ├───┼───┤ │ 0 │ 3 │ │ 1 │ 3 │ ╰───┴───╯ ❯ [{'a': 1, 'b': 2, 'c': 3}, {'a': 1, 'b': 2, 'c': 3}] | select ['a', 'b'] ╭───┬───┬───╮ │ # │ a │ b │ ├───┼───┼───┤ │ 0 │ 1 │ 2 │ │ 1 │ 1 │ 2 │ ╰───┴───┴───╯ ``` |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml | ||
LICENSE |