File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ The official Sublime Text plugin for ReScript.
4
4
5
5
## Prerequisite
6
6
7
- ` bs-platform 8.2.0 ` installed locally in your project.
7
+ - ` 0.0.9 ` requires ` bs-platform >=8.3.0 ` installed locally in your project.
8
+ - ` 0.0.8 ` requires ` bs-platform 8.2.0 ` installed locally in your project.
8
9
9
10
## Install
10
11
Original file line number Diff line number Diff line change @@ -109,9 +109,9 @@ def parseBsbLogOutput(content):
109
109
# map of file path to list of diagnosis
110
110
for diagnosisLines in res :
111
111
fileAndLocation , * diagnosisMessage = diagnosisLines
112
- lastSpace = fileAndLocation .rfind ( " " )
112
+ lastSpace = fileAndLocation .find ( ": " )
113
113
file = fileAndLocation [2 :lastSpace ]
114
- location = fileAndLocation [lastSpace :]
114
+ location = fileAndLocation [lastSpace + 1 :]
115
115
if not file in ret :
116
116
ret [file ] = []
117
117
cleanedUpDiagnosis = "\n " .join ([line [2 :] for line in diagnosisMessage ]).strip ()
You can’t perform that action at this time.
0 commit comments