nushell/crates/nu-command
Reilly Wood 83ddf0ebe2
Make optional cell paths work with reject (#8697)
This PR makes `?` work with `reject`. For example:

```bash
> {} | reject foo
Error: nu:🐚:column_not_found

  × Cannot find column
   ╭─[entry #2:1:1]
 1 │ {} | reject foo
   ·      ───┬── ─┬─
   ·         │    ╰── cannot find column 'foo'
   ·         ╰── value originates here
   ╰────

> {} | reject foo?
╭──────────────╮
│ empty record │
╰──────────────╯
```

This was prompted by [a user
question](https://discord.com/channels/601130461678272522/614593951969574961/1091466428546306078).
I would like to get this in for 0.78, I think it's low-risk and I want
the `?` feature to be as polished as possible for its debut.
2023-03-31 16:40:19 -07:00
..
assets refactor html module (#5246) 2022-04-20 08:50:14 -05:00
src Fix a bug with us not outputting as µs with the into duration command (#8691) 2023-03-31 16:01:48 -05:00
tests Make optional cell paths work with reject (#8697) 2023-03-31 16:40:19 -07:00
Cargo.toml Remove proptests for nuon writing/parsing (#8688) 2023-03-31 17:15:16 +02:00
LICENSE Include license text in all crates (#5094) 2022-04-08 10:47:13 +02:00