diff --git a/src/module/bm/mod.rs b/src/module/bm/mod.rs index 2bcafccd..931429df 100644 --- a/src/module/bm/mod.rs +++ b/src/module/bm/mod.rs @@ -118,9 +118,9 @@ fn get_tags<'a>(rt: &Runtime, sub: &ArgMatches<'a, 'a>) -> Vec { .filter(|e| if e.contains(" ") { warn!("Tag contains spaces: '{}'", e); - true - } else { false + } else { + true }).collect() ) ).or(Some(vec![])).unwrap()