Fixed compile errors
This commit is contained in:
parent
805ff69e2b
commit
7702cac8fc
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ fn main() {
|
||||||
|
|
||||||
s => {
|
s => {
|
||||||
let mut subcommand_args = find_args(s);
|
let mut subcommand_args = find_args(s);
|
||||||
if is_debug && subcommand_args.filter(|x| x == "debug").count() == 0 {
|
if is_debug && subcommand_args.iter().find(|x| *x == "debug").is_none() {
|
||||||
subcommand_args.push(String::from("--debug"));
|
subcommand_args.push(String::from("--debug"));
|
||||||
}
|
}
|
||||||
match Command::new(format!("imag-{}", s))
|
match Command::new(format!("imag-{}", s))
|
||||||
|
|
Loading…
Reference in a new issue