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|
|
.filter(|e|
|
||||||
if e.contains(" ") {
|
if e.contains(" ") {
|
||||||
warn!("Tag contains spaces: '{}'", e);
|
warn!("Tag contains spaces: '{}'", e);
|
||||||
true
|
|
||||||
} else {
|
|
||||||
false
|
false
|
||||||
|
} else {
|
||||||
|
true
|
||||||
}).collect()
|
}).collect()
|
||||||
)
|
)
|
||||||
).or(Some(vec![])).unwrap()
|
).or(Some(vec![])).unwrap()
|
||||||
|
|
Loading…
Reference in a new issue