mirror of
https://github.com/nushell/nushell.git
synced 2025-06-01 07:35:49 +02: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);
|
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…
x
Reference in New Issue
Block a user