tualo / tualo-git-context

Git context menu for atom
MIT License
2 stars 0 forks source link

soaked up getEntries undefined #3

Closed ghost closed 9 years ago

ghost commented 10 years ago

When no file tree exists, refreshTree causes a stack-trace, due to atom.project.getRootDirectory() returning undefined. The simple fix is to use coffee-scripts ?. operator

thomashoffmann1979 commented 9 years ago

Thanks a lot, but i have reorg the hole code.