mirror of
https://github.com/nushell/nushell.git
synced 2024-11-30 12:24:03 +01:00
Merge pull request #263 from jonathandturner/defer-evaluation
get tests passing by fixing classifying external
This commit is contained in:
commit
f17c6a5a37
@ -478,8 +478,7 @@ fn classify_command(
|
|||||||
args,
|
args,
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
false => match context.get_command(name).as_ref() {
|
false => {
|
||||||
Command::Static(_command) => {
|
|
||||||
let arg_list_strings: Vec<Spanned<String>> = match call.children() {
|
let arg_list_strings: Vec<Spanned<String>> = match call.children() {
|
||||||
//Some(args) => args.iter().map(|i| i.as_external_arg(source)).collect(),
|
//Some(args) => args.iter().map(|i| i.as_external_arg(source)).collect(),
|
||||||
Some(args) => args
|
Some(args) => args
|
||||||
@ -501,7 +500,6 @@ fn classify_command(
|
|||||||
args: arg_list_strings,
|
args: arg_list_strings,
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
},
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user