Added BigInt handling to the delimited file format for the 'to' command (#4034)

Co-authored-by: patrick <patrick@spol42069.hitronhub.home>
This commit is contained in:
Patrick More
2021-09-24 15:47:16 -06:00
committed by GitHub
parent b3d8666db0
commit 4e6327de1d
2 changed files with 3 additions and 1 deletions

View File

@ -136,7 +136,8 @@ fn to_string_tagged_value(v: &Value) -> Result<String, ShellError> {
| Primitive::Boolean(_)
| Primitive::Decimal(_)
| Primitive::FilePath(_)
| Primitive::Int(_),
| Primitive::Int(_)
| Primitive::BigInt(_),
) => as_string(v),
UntaggedValue::Primitive(Primitive::Date(d)) => Ok(d.to_string()),
UntaggedValue::Primitive(Primitive::Nothing) => Ok(String::new()),