Closed ghost closed 9 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
Thanks a lot, but i have reorg the hole code.
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