Closed postcasio closed 9 years ago
The breadcrumb view is created even when Atom has no project or tree view, so this line throws an exception because atom.project.getPath() is undefined.
atom.project.getPath()
undefined
https://github.com/abe33/atom-tree-view-breadcrumb/blob/master/lib/breadcrumb-view.coffee#L9
Probably can be fixed along with https://github.com/abe33/atom-tree-view-breadcrumb/issues/5 just by not creating the view until the tree view is actually opened.
Thanks, fixed in 0.3.0.
The breadcrumb view is created even when Atom has no project or tree view, so this line throws an exception because
atom.project.getPath()
isundefined
.https://github.com/abe33/atom-tree-view-breadcrumb/blob/master/lib/breadcrumb-view.coffee#L9
Probably can be fixed along with https://github.com/abe33/atom-tree-view-breadcrumb/issues/5 just by not creating the view until the tree view is actually opened.