Don't print a nothing value (#2796)

This commit is contained in:
Jonathan Turner 2020-12-19 05:48:22 +13:00 committed by GitHub
parent 2eac79569c
commit 0b5ab1ef22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -272,7 +272,12 @@ pub async fn autoview(context: RunnableContext) -> Result<OutputStream, ShellErr
nu_table::draw_table(&table, term_width, &color_hm);
}
Value {
value: UntaggedValue::Primitive(Primitive::Nothing),
..
} => {
// Do nothing
}
Value {
value: ref item, ..
} => {