diff --git a/crates/nu-command/src/filesystem/ls.rs b/crates/nu-command/src/filesystem/ls.rs index 961de3d96e..18d32ac43a 100644 --- a/crates/nu-command/src/filesystem/ls.rs +++ b/crates/nu-command/src/filesystem/ls.rs @@ -462,6 +462,8 @@ pub(crate) fn dir_entry_dict( } else { vals.push(Value::nothing(span)); } + } else { + vals.push(Value::nothing(span)); } } else { vals.push(Value::nothing(span));