From 075dee877e4804cdda713ca5286414d018bd1ba2 Mon Sep 17 00:00:00 2001 From: Sander van Beek Date: Thu, 14 Nov 2024 17:34:09 +0100 Subject: [PATCH] Minor fix --- robocop/utils/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robocop/utils/misc.py b/robocop/utils/misc.py index e5776f5c..59ed9852 100644 --- a/robocop/utils/misc.py +++ b/robocop/utils/misc.py @@ -123,7 +123,7 @@ def issues_to_lsp_diagnostic(issues) -> list[dict]: } if issue.help_url: - diagnostic["codeDescription"] = {"href": issue.help_url or ""} + diagnostic["codeDescription"] = {"href": issue.help_url} diagnostics.append(diagnostic)