mirror of
https://github.com/danbulant/nushell
synced 2026-05-19 04:18:51 +00:00
$it: add conversion from Int for external commands (#1218)
This commit is contained in:
parent
2ab5803f00
commit
98028433ad
1 changed files with 4 additions and 0 deletions
|
|
@ -80,6 +80,10 @@ async fn run_with_iterator_arg(
|
|||
let input_strings = inputs
|
||||
.iter()
|
||||
.map(|i| match i {
|
||||
Value {
|
||||
value: UntaggedValue::Primitive(Primitive::Int(i)),
|
||||
..
|
||||
} => Ok(i.to_string()),
|
||||
Value {
|
||||
value: UntaggedValue::Primitive(Primitive::String(s)),
|
||||
..
|
||||
|
|
|
|||
Loading…
Reference in a new issue