From 8763be8111b18b3ab89d113b3161334d2df75ee3 Mon Sep 17 00:00:00 2001 From: Artur Ayukhanov Date: Sun, 26 Nov 2023 09:44:39 +0300 Subject: [PATCH] Update src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/BadWordsDiagnostic.java Co-authored-by: Nikita Fedkin --- .../bsl/languageserver/diagnostics/BadWordsDiagnostic.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/BadWordsDiagnostic.java b/src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/BadWordsDiagnostic.java index de25675a597..06021a2bd84 100644 --- a/src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/BadWordsDiagnostic.java +++ b/src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/BadWordsDiagnostic.java @@ -86,7 +86,8 @@ protected void check() { while (matcher.find()) { diagnosticStorage.addDiagnostic( Ranges.create(i, matcher.start(), i, matcher.end()), - info.getMessage(matcher.group())); + info.getMessage(matcher.group()) + ); } } }