forked from extern/nushell
f34034ae58
# Description i tried yesterday to `encode` with an invalid character set and this is what i got ```bash >_ {alg: "HS256", type: "JWT"} | to json -r | encode base64 --character-set invalid-character-set Error: × value is not an accepted character set ╭─[entry #11:1:1] 1 │ {alg: "HS256", type: "JWT"} | to json -r | encode base64 --character-set invalid-character-set · ──────────┬────────── · ╰── invalid-character-set is not a valid character-set. Please use `help hash base64` to see a list of valid character sets. ╰──── ``` but `hash base64` is now a deprecated command, see `help hash base64`. => **this PR changes the error message to mention `help encode base64`, where the list of valid character sets is, instead** # User-Facing Changes ``` $nothing ``` # Tests + Formatting - 🟢 `cargo fmt --all` - 🟢 `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect` - 🟢 `cargo test --workspace` # After Submitting ``` $nothing ``` |
||
---|---|---|
.. | ||
assets | ||
proptest-regressions/format_conversions | ||
src | ||
tests | ||
Cargo.toml | ||
LICENSE |