nushell/crates/nu-command/src/strings
Ian Manske c3da44cbb7
Fix char panic (#12867)
# Description
The `char` command can panic due to a failed `expect`: `char --integer
...[77 78 79]`

This PR fixes the panic for the `--integer` flag and also the
`--unicode` flag.

# After Submitting
Check other commands and places where similar bugs can occur due to
usages of `Call::positional_nth` and related methods.
2024-05-14 21:10:06 +00:00
..
encode_decode Bump base64 to 0.22.1 (#12757) 2024-05-04 15:56:16 +03:00
format Shrink the size of Expr (#12610) 2024-04-24 15:46:35 +00:00
split ListStream touchup (#12524) 2024-05-05 16:00:59 +00:00
str_ remove --not flag for 'str contains' (#12837) 2024-05-11 23:13:36 +00:00
char_.rs Fix char panic (#12867) 2024-05-14 21:10:06 +00:00
detect_columns.rs ListStream touchup (#12524) 2024-05-05 16:00:59 +00:00
guess_width.rs Change default algorithm in detect columns (#12277) 2024-03-26 13:57:55 +08:00
mod.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
parse.rs Refactor parse command (#12791) 2024-05-08 06:50:58 -05:00