sindresorhus / atom-editorconfig

Helps developers maintain consistent coding styles between different editors
https://atom.io/packages/editorconfig
MIT License
812 stars 80 forks source link

check whether container exists before appending icon #180

Closed brumm closed 7 years ago

brumm commented 7 years ago

This fixes an uncaught exception if the status-bar does not exist due to the entire package being disabled

fixes #178

To make the maintainer's life easier, I...

balupton commented 7 years ago

this will be great, the current theme I use hides the status bar, so I disabled the package, but getting an error, so this pull request will help!

florianb commented 7 years ago

Thank you very much for your contribution @brumm! 🎁