refactor(complete): Remove an always-true check
The `text` variable here is clearly never empty, so don't check if it
is.
@@ -156,10 +156,8 @@ fn subcommands_of(p: &Command) -> String {
help = escape_help(&subcommand.get_about().unwrap_or_default().to_string())
);
- if !text.is_empty() {
ret.push(text);
}
- }
// The subcommands
for command in p.get_subcommands() {
