Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit bc73f2e

Browse files
committed
Fixed incorrect line offset
1 parent 1e98b3d commit bc73f2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const parseLuacOutput = (output, file, editor) => {
1717
const messages = [];
1818
let match = REGEX.exec(output);
1919
while (match !== null) {
20-
const line = Number.parseInt(match[1], 10) - 2;
20+
const line = Number.parseInt(match[1], 10) - 1;
2121
messages.push({
2222
severity: 'error',
2323
excerpt: match[2],

0 commit comments

Comments
 (0)