mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-21 22:54:11 +08:00
lint(spellchecker): remove trailing semicolons
This commit is contained in:
parent
80774afaa1
commit
3c647ef2be
1 changed files with 2 additions and 2 deletions
|
@ -40,9 +40,9 @@ class NylasSpellchecker
|
||||||
dict = path.join(require.resolve('spellchecker'), '..', '..', 'vendor', 'hunspell_dictionaries')
|
dict = path.join(require.resolve('spellchecker'), '..', '..', 'vendor', 'hunspell_dictionaries')
|
||||||
try
|
try
|
||||||
# HACK: Special case being in an asar archive
|
# HACK: Special case being in an asar archive
|
||||||
unpacked = dict.replace('.asar' + path.sep, '.asar.unpacked' + path.sep);
|
unpacked = dict.replace('.asar' + path.sep, '.asar.unpacked' + path.sep)
|
||||||
if require('fs').statSyncNoException(unpacked)
|
if require('fs').statSyncNoException(unpacked)
|
||||||
dict = unpacked;
|
dict = unpacked
|
||||||
catch
|
catch
|
||||||
|
|
||||||
dict
|
dict
|
||||||
|
|
Loading…
Reference in a new issue