From b173fa63037154d89add7fefe1eedf7fd0b3d53a Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Thu, 8 Aug 2019 16:57:38 +1200 Subject: [PATCH] Fix table print for ls --- src/commands/autoview.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands/autoview.rs b/src/commands/autoview.rs index 48ecb0570c..4d86730e7c 100644 --- a/src/commands/autoview.rs +++ b/src/commands/autoview.rs @@ -47,7 +47,8 @@ pub fn autoview( view_text_value(&input[0], &raw.call_info.source_map); } else if equal_shapes(&input) { let table = context.expect_command("table"); - table.run(raw.with_input(input), &context.commands).await; + let result = table.run(raw.with_input(input), &context.commands).await.unwrap(); + result.collect::>().await; } else { println!("TODO!") // TODO