Commit 7a560529 authored by Jérome Perrin's avatar Jérome Perrin

monaco_editor: fix offset in pylint diagnostics

when fixing coding style in 0b8b8475 (administration,core: wrong
location when reporting pylint errors, 2024-05-25) it became wrong here.
parent cd3d1baa
Pipeline #39253 failed with stage
in 0 seconds
...@@ -242,8 +242,8 @@ $script.onload = function() { ...@@ -242,8 +242,8 @@ $script.onload = function() {
"pylint", "pylint",
data["annotations"].map(annotation => { data["annotations"].map(annotation => {
return { return {
startLineNumber: annotation.row + 1, startLineNumber: annotation.row,
endLineNumber: annotation.row + 1, endLineNumber: annotation.row,
startColumn: annotation.col, startColumn: annotation.col,
endColumn: Infinity, endColumn: Infinity,
message: annotation.text, message: annotation.text,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment