mirror of
https://github.com/nushell/nushell.git
synced 2025-08-18 18:48:27 +02:00
This reverts commit ec4e3a6d5c
.
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.map(|(v, _)| v).collect();
|
||||
let mut v: Vec<_> = exit_code.collect();
|
||||
|
||||
if let Some(v) = v.pop() {
|
||||
cols.push("exit_code".to_string());
|
||||
|
Reference in New Issue
Block a user