mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 22:50:14 +02:00
Add support for optional list stream output formatting (#6325)
* add support for optional list stream output formatting * cargo fmt * table: add ValueFormatter test
This commit is contained in:
@ -70,7 +70,7 @@ impl Command for Complete {
|
||||
}
|
||||
|
||||
if let Some(exit_code) = exit_code {
|
||||
let mut v: Vec<_> = exit_code.collect();
|
||||
let mut v: Vec<_> = exit_code.map(|(v, _)| v).collect();
|
||||
|
||||
if let Some(v) = v.pop() {
|
||||
cols.push("exit_code".to_string());
|
||||
|
Reference in New Issue
Block a user