xjsender / haoide

Stop upgrade, most of features were delivered in https://github.com/xjsender/haoide-vscode
MIT License
199 stars 46 forks source link

View Code Coverage #197

Closed maksimln closed 4 years ago

maksimln commented 5 years ago

API: 36

Traceback (most recent call last): File "/Applications/Sublime Text.app/Contents/MacOS/sublimeplugin.py", line 818, in run return self.run(edit) File "main in /Users/polzovatel/Library/Application Support/Sublime Text 3/Installed Packages/haoide.sublime-package", line 708, in run File "util in /Users/polzovatel/Library/Application Support/Sublime Text 3/Installed Packages/haoide.sublime-package", line 254, in view_coverage File "util in /Users/polzovatel/Library/Application Support/Sublime Text 3/Installed Packages/haoide.sublime-package", line 254, in KeyError: 'line'

xnamahx commented 5 years ago

same here on Windows

Traceback (most recent call last): File "C:\Program Files\Sublime Text 3\sublimeplugin.py", line 1088, in run return self.run(edit) File "C:\Users\xnamahx\AppData\Roaming\Sublime Text 3\Installed Packages\haoide.sublime-package\main.py", line 708, in run File "C:\Users\xnamahx\AppData\Roaming\Sublime Text 3\Installed Packages\haoide.sublime-package\util.py", line 254, in view_coverage File "C:\Users\xnamahx\AppData\Roaming\Sublime Text 3\Installed Packages\haoide.sublime-package\util.py", line 254, in KeyError: 'line'

lushang commented 4 years ago

The Salesforce Tooling API does not return expected response with code coverage information after run sync test now. Will use another approach to fix this issue.