Skip to content

Commit 58d556c

Browse files
committed
Merge pull request #202 from zhengbli/fixRenamingIssues
Corrected naming for json_helpers module
2 parents 2d3d522 + c02b7ac commit 58d556c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commands/references.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def run(self, text):
1616
cursor = self.view.rowcol(pos)
1717
line = str(cursor[0] + 1)
1818
args = {"line": line, "filename": self.view.file_name(), "referencesRespBody": references_resp["body"]}
19-
args_json_str = jsonhelpers.encode(args)
19+
args_json_str = json_helpers.encode(args)
2020
ref_view = get_ref_view()
2121
ref_view.run_command('typescript_populate_refs', {"argsJson": args_json_str})
2222

@@ -71,7 +71,7 @@ class TypescriptPopulateRefs(sublime_plugin.TextCommand):
7171
references buffer (such as build errors)
7272
"""
7373
def run(self, text, argsJson):
74-
args = jsonhelpers.decode(argsJson)
74+
args = json_helpers.decode(argsJson)
7575
file_name = args["filename"]
7676
line = args["line"]
7777
ref_display_string = args["referencesRespBody"]["symbolDisplayString"]

0 commit comments

Comments
 (0)