fix CommandMap typo
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
7c3873b449
commit
ef39327073
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ export default class CommandProvider extends AutocompleteProvider {
|
||||||
const name = command[1].substr(1); // strip leading `/`
|
const name = command[1].substr(1); // strip leading `/`
|
||||||
if (CommandMap[name]) {
|
if (CommandMap[name]) {
|
||||||
// some commands, namely `me` and `ddg` don't suit having the usage shown whilst typing their arguments
|
// some commands, namely `me` and `ddg` don't suit having the usage shown whilst typing their arguments
|
||||||
if (!CommandMap[name].hideCompletionAfterSpace) return [];
|
if (CommandMap[name].hideCompletionAfterSpace) return [];
|
||||||
matches = [CommandMap[name]];
|
matches = [CommandMap[name]];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue