nushell/crates/nu-std/lib
Antoine Stevan d339902dc6
stdlib: fix the clip command with integer values (#8898)
# Description
this PR fixes the `std clip` command which would not copy integer data
😮
and, as all the input data is now treated as raw `string` with the
`table | into string` conversion, i've removed the "stripped" print when
done clipping the data 👍

 from the `main` on which this PR is based (cbedc8403)
> **Note**
> from inside`cargo run` and with a `use std clip`
- ✔️ `'foo' | clip`
- ✔️ `ls | get 0 | clip`
-  `123 | clip`
 
# User-Facing Changes
✔️ from the tip of the PR branch
> **Note**
> from inside`cargo run` and with a `use std clip`
- ✔️ `'foo' | clip`
- ✔️ `ls | get 0 | clip`
- ✔️ `123 | clip`

# Tests + Formatting
- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
-  `toolkit test`
-  `toolkit test stdlib`

# After Submitting
```
$nothing
```
2023-04-20 18:59:34 +02:00
..
dirs.nu stdlib: refactor into a multi-module library (#8815) 2023-04-09 20:00:20 +03:00
help.nu stdlib: add completion to help commands (#8799) 2023-04-10 10:59:57 +12:00
iter.nu add filter-map command to std iter (#8926) 2023-04-19 19:09:10 +02:00
log.nu stdlib: refactor into a multi-module library (#8815) 2023-04-09 20:00:20 +03:00
mod.nu stdlib: fix the clip command with integer values (#8898) 2023-04-20 18:59:34 +02:00
testing.nu Move unit test runner to standard library (#8850) 2023-04-13 21:46:37 +02:00
xml.nu stdlib: refactor into a multi-module library (#8815) 2023-04-09 20:00:20 +03:00