Skip to content

Command typescript_project_error_list is not working #740

@aNickPlx

Description

@aNickPlx

I just realized that the command "typescript_project_error_list" is broken.
When the panel is about to open, it hangs and sublime console displays the following error.

Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 1052, in run_ return self.run() File "/home/LOFT.BR/bruno.rafael/.config/sublime-text-3/Packages/TypeScript/typescript/commands/error_list.py", line 22, in run cli.worker_client.start() File "/home/LOFT.BR/bruno.rafael/.config/sublime-text-3/Packages/TypeScript/typescript/libs/node_client.py", line 310, in start node_args = pref_settings.get('node_args', []) NameError: global name 'pref_settings' is not defined

I was able to bisect the error to the commit 7be868e

It looks like there was a Copy&PasteException on line 310 on the file typescript/libs/node_client.py
the missing line is:
pref_settings = sublime.load_settings('Preferences.sublime-settings')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions