Skip to content

Commit 4ae3c86

Browse files
committed
Fix typo, bump ver
1 parent 0fae29c commit 4ae3c86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "The official VSCode plugin for ReScript.",
44
"author": "chenglou",
55
"license": "MIT",
6-
"version": "0.0.6",
6+
"version": "0.0.7",
77
"repository": {
88
"type": "git",
99
"url": "https://github.com/rescript-lang/rescript-vscode"

server/src/server.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ FAILED: src/test.cmj src/test.cmi
177177
let [fileAndLocation, ...diagnosisMessage] = diagnosisLines
178178
let locationSeparatorV840 = fileAndLocation.lastIndexOf(':')
179179
let locationSeparatorV830 = fileAndLocation.lastIndexOf(' ')
180-
let locationSeparator = locationSeparatorV830 >= 0 ? locationSeparatorV840 : locationSeparatorV830
180+
let locationSeparator = locationSeparatorV840 >= 0 ? locationSeparatorV840 : locationSeparatorV830
181181
let file = fileAndLocation.substring(2, locationSeparator)
182182
let location = fileAndLocation.substring(locationSeparator)
183183
if (ret[file] == null) {

0 commit comments

Comments
 (0)