nushell
nushell copied to clipboard
`move` to the same column creates duplicate keys on records
Describe the bug
Using move
on a record and moving a key to before/after itself will duplicate that key.
How to reproduce
~> {a: 1} | move a --after a
╭───┬───╮
│ a │ 1 │
│ a │ 1 │
╰───┴───╯
Expected behavior
An error.
Screenshots
No response
Configuration
key | value |
---|---|
version | 0.89.0 |
branch | |
commit_hash | |
build_os | linux-x86_64 |
build_target | x86_64-alpine-linux-musl |
rust_version | rustc 1.72.1 (d5c2e9c34 2023-09-13) (Alpine Linux 1.72.1-r0) |
cargo_version | cargo 1.72.1 |
build_time | 2024-01-13 03:02:49 +00:00 |
build_rust_channel | release |
allocator | mimalloc |
features | default, sqlite, trash, which, zip |
installed_plugins |
Additional context
No response