mirror of
https://github.com/nushell/nushell.git
synced 2024-11-27 02:44:01 +01:00
Fix table print for ls
This commit is contained in:
parent
14a52bc282
commit
b173fa6303
@ -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::<Vec<_>>().await;
|
||||
} else {
|
||||
println!("TODO!")
|
||||
// TODO
|
||||
|
Loading…
Reference in New Issue
Block a user