Thom1729 / Sublime-JS-Custom

Customizable JavaScript syntax highlighting for Sublime Text.
MIT License
137 stars 9 forks source link

Better error handling for atomic replacement. #64

Closed Thom1729 closed 5 years ago

Thom1729 commented 5 years ago

For some reason, the replace call was failing with a PermissionError in Windows. When that happens, we manually remove the file before replacement.