forked from extern/nushell
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 |