mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-16 21:20:23 +08:00
fix(spellchecker): broken array check logic for en_US default
This commit is contained in:
parent
878d1c0617
commit
3ec81c5707
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