forked from extern/nushell
Pass metadata in 'to json' (#2359)
This commit is contained in:
parent
b1a946f0dc
commit
8d269f62dd
@ -240,7 +240,7 @@ async fn to_json(
|
||||
|
||||
ReturnSuccess::value(
|
||||
UntaggedValue::Primitive(Primitive::String(serde_json_string))
|
||||
.into_value(&name_tag),
|
||||
.into_value(&value.tag),
|
||||
)
|
||||
}
|
||||
_ => Err(ShellError::labeled_error_with_secondary(
|
||||
|
Loading…
Reference in New Issue
Block a user