mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-13 00:22:23 +08:00
fix(spellchecker): broken array check logic for en_US default
This commit is contained in:
parent
4b68f47040
commit
dbdd460e71
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class NylasSpellchecker
|
|||
getAvailableDictionaries: ->
|
||||
if process.platform is 'linux'
|
||||
arr = spellchecker.getAvailableDictionaries()
|
||||
if not "en_US" in arr
|
||||
if "en_US" not in arr
|
||||
arr.push('en_US') # Installed by default in node-spellchecker's vendor directory
|
||||
arr
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue