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)