File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 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.
44
55## Prerequisite
66
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.
89
910## Install
1011
Original file line number Diff line number Diff line change @@ -109,9 +109,9 @@ def parseBsbLogOutput(content):
109109 # map of file path to list of diagnosis
110110 for diagnosisLines in res :
111111 fileAndLocation , * diagnosisMessage = diagnosisLines
112- lastSpace = fileAndLocation .rfind ( " " )
112+ lastSpace = fileAndLocation .find ( ": " )
113113 file = fileAndLocation [2 :lastSpace ]
114- location = fileAndLocation [lastSpace :]
114+ location = fileAndLocation [lastSpace + 1 :]
115115 if not file in ret :
116116 ret [file ] = []
117117 cleanedUpDiagnosis = "\n " .join ([line [2 :] for line in diagnosisMessage ]).strip ()
You can’t perform that action at this time.
0 commit comments