Fixed inverted logic in get_tags()
This commit is contained in:
parent
006724a184
commit
0896f2093b
1 changed files with 2 additions and 2 deletions
|
@ -118,9 +118,9 @@ fn get_tags<'a>(rt: &Runtime, sub: &ArgMatches<'a, 'a>) -> Vec<String> {
|
|||
.filter(|e|
|
||||
if e.contains(" ") {
|
||||
warn!("Tag contains spaces: '{}'", e);
|
||||
true
|
||||
} else {
|
||||
false
|
||||
} else {
|
||||
true
|
||||
}).collect()
|
||||
)
|
||||
).or(Some(vec![])).unwrap()
|
||||
|
|
Loading…
Reference in a new issue