mirror of
https://github.com/nushell/nushell.git
synced 2025-03-26 15:26:51 +01:00
added nothing value for incalcuable dir sizes (#1789)
This commit is contained in:
parent
fc8ee8e4b9
commit
822440d5ff
@ -155,6 +155,8 @@ pub(crate) fn dir_entry_dict(
|
||||
}
|
||||
|
||||
dict.insert_untagged("size", size_untagged_value);
|
||||
} else {
|
||||
dict.insert_untagged("size", UntaggedValue::nothing());
|
||||
}
|
||||
|
||||
if let Some(md) = metadata {
|
||||
|
Loading…
Reference in New Issue
Block a user