Skip to content

Commit ffab29f

Browse files
committed
Address CR: add comments in global_vars
1 parent df21ba6 commit ffab29f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

typescript/libs/editor_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ def initialize(self):
4949

5050
# retrieve the path to tsserver.js
5151
# first see if user set the path to the file
52-
settings = sublime.load_settings('Preferences.sublime-settings')
53-
tsdk_location = settings.get('typescript_tsdk')
52+
settings = sublime.load_settings("Preferences.sublime-settings")
53+
tsdk_location = settings.get("typescript_tsdk")
5454
if tsdk_location:
5555
proc_file = os.path.join(tsdk_location, "tsserver.js")
5656
global_vars._tsc_path = os.path.join(tsdk_location, "tsc.js")

typescript/libs/global_vars.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
def get_node_path():
3535
return _node_path
3636

37+
# The tsc.js path will be initialized in the editor_client.py module
3738
_tsc_path = None
3839
def get_tsc_path():
3940
return _tsc_path

0 commit comments

Comments
 (0)