We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cecb573 commit 22ab09aCopy full SHA for 22ab09a
1 file changed
sqlmesh/lsp/context.py
@@ -330,8 +330,8 @@ def diagnostic_to_lsp_diagnostic(
330
331
# Get rule definition location for diagnostics link
332
rule_location = diagnostic.rule.get_definition_location()
333
- rule_uri_wihout_extension = URI.from_path(rule_location.file_path)
334
- rule_uri = f"{rule_uri_wihout_extension.value}#L{rule_location.start_line}"
+ rule_uri_without_extension = URI.from_path(rule_location.file_path)
+ rule_uri = f"{rule_uri_without_extension.value}#L{rule_location.start_line}"
335
336
# Use URI format to create a link for "related information"
337
return types.Diagnostic(
0 commit comments