mirror of
https://github.com/nushell/nushell
synced 2025-01-15 22:54:16 +00:00
added nothing value for incalcuable dir sizes (#1789)
This commit is contained in:
parent
fc8ee8e4b9
commit
822440d5ff
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue