raph-amiard/sublime-typescript

infinite loading, because of reference path should check if is dir

Opened this issue · 0 comments

Traceback (most recent call last):
  File "./typescript.py", line 58, in timeout_func
  File "./typescript.py", line 85, in get_dep_text
IOError: [Errno 21] Is a directory: u'/Users/mainuser/code/devd/d.ts'

As you can see in the traceback (taken from the Python console in Sublime Text) the error is, that the reference path is a directory which is indead the case (d.ts is a directory NOT A FILE) which causes the plugin to hang