forked from extern/nushell
Merge pull request #262 from jonathandturner/defer-evaluation
Fix table print for ls
This commit is contained in:
commit
742cdbe97d
@ -47,7 +47,8 @@ pub fn autoview(
|
|||||||
view_text_value(&input[0], &raw.call_info.source_map);
|
view_text_value(&input[0], &raw.call_info.source_map);
|
||||||
} else if equal_shapes(&input) {
|
} else if equal_shapes(&input) {
|
||||||
let table = context.expect_command("table");
|
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 {
|
} else {
|
||||||
println!("TODO!")
|
println!("TODO!")
|
||||||
// TODO
|
// TODO
|
||||||
|
Loading…
Reference in New Issue
Block a user