get tests passing by fixing classifying external

This commit is contained in:
Jonathan Turner 2019-08-08 17:09:38 +12:00
parent b173fa6303
commit 80bcc51294

View File

@ -478,8 +478,7 @@ fn classify_command(
args,
}))
}
false => match context.get_command(name).as_ref() {
Command::Static(_command) => {
false => {
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
@ -501,7 +500,6 @@ fn classify_command(
args: arg_list_strings,
}))
}
},
}
}