added nothing value for incalcuable dir sizes (#1789)

This commit is contained in:
Sam 2020-05-15 12:53:18 -04:00 committed by GitHub
parent fc8ee8e4b9
commit 822440d5ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {