mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 06:48:17 +02:00
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:
@ -698,6 +698,7 @@ pub fn as_string(value: &Value) -> Result<String, ShellError> {
|
||||
UntaggedValue::Primitive(Primitive::Int(x)) => Ok(x.to_string()),
|
||||
UntaggedValue::Primitive(Primitive::Filesize(x)) => Ok(x.to_string()),
|
||||
UntaggedValue::Primitive(Primitive::FilePath(x)) => Ok(x.display().to_string()),
|
||||
UntaggedValue::Primitive(Primitive::BigInt(x)) => Ok(x.to_string()),
|
||||
UntaggedValue::Primitive(Primitive::ColumnPath(path)) => Ok(path
|
||||
.iter()
|
||||
.map(|member| match &member.unspanned {
|
||||
|
Reference in New Issue
Block a user