Fix post-ts autocomplete, it is not null

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-04-22 13:18:54 +01:00
parent dd1f1b3092
commit fc828378fa
2 changed files with 3 additions and 3 deletions

View file

@ -64,7 +64,7 @@ export default class AutocompleteProvider {
commandRegex = this.forcedCommandRegex || /\S+/g;
}
if (commandRegex === null) {
if (!commandRegex) {
return null;
}