Filter out duplicate extension search flags
This commit is contained in:
parent
2a8adf5b24
commit
a14ad2f8b0
|
@ -35,7 +35,7 @@ export class Query {
|
|||
.map(subcommand => `@${command}:${subcommand}${subcommand === '' ? '' : ' '}`);
|
||||
}
|
||||
else {
|
||||
return [`@${command} `];
|
||||
return queryContains(`@${command}`) ? [] : [`@${command} `];
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue