atom / node-spellchecker

SpellChecker Node Module
http://atom.github.io/node-spellchecker
MIT License
300 stars 108 forks source link

Remove usage of fs.statSyncNoException, deprecated in Electron 3.0 #107

Closed daviwil closed 5 years ago

daviwil commented 5 years ago

This change removes the use of fs.statSyncNoException which was deprecated in Electron 3.0. Since the usage of this function was already inside of a try/catch block, I've switched it to fs.statSync.

Fixes #105.