From 8d554d1946f1a5ed8131a65316ce65a7ac311235 Mon Sep 17 00:00:00 2001 From: Niko Strijbol Date: Mon, 27 Nov 2023 16:08:54 +0100 Subject: [PATCH] Revert to zero-based for annotations --- tested/languages/bash/linter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tested/languages/bash/linter.py b/tested/languages/bash/linter.py index c802080d..559591ba 100644 --- a/tested/languages/bash/linter.py +++ b/tested/languages/bash/linter.py @@ -88,7 +88,7 @@ def run_shellcheck( cols = 1 annotations.append( AnnotateCode( - row=start_row + config.source_offset, + row=start_row + config.source_offset - 1, rows=rows, text=text, externalUrl=external,