forked from extern/nushell
Don't print a nothing value (#2796)
This commit is contained in:
parent
2eac79569c
commit
0b5ab1ef22
@ -272,7 +272,12 @@ pub async fn autoview(context: RunnableContext) -> Result<OutputStream, ShellErr
|
|||||||
|
|
||||||
nu_table::draw_table(&table, term_width, &color_hm);
|
nu_table::draw_table(&table, term_width, &color_hm);
|
||||||
}
|
}
|
||||||
|
Value {
|
||||||
|
value: UntaggedValue::Primitive(Primitive::Nothing),
|
||||||
|
..
|
||||||
|
} => {
|
||||||
|
// Do nothing
|
||||||
|
}
|
||||||
Value {
|
Value {
|
||||||
value: ref item, ..
|
value: ref item, ..
|
||||||
} => {
|
} => {
|
||||||
|
Loading…
Reference in New Issue
Block a user