Skip to content

Commit 83b8fc8

Browse files
committed
Update for 8.3.0
1 parent 0c4b858 commit 83b8fc8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff 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

format.py

+2-2
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)