From 1c8d7daea27a25685e1ecd4f2c9813a9b7801de7 Mon Sep 17 00:00:00 2001 From: James Westman Date: Sat, 6 Apr 2024 14:31:36 -0500 Subject: [PATCH] lsp: Fix deprecation warnings --- blueprintcompiler/lsp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blueprintcompiler/lsp.py b/blueprintcompiler/lsp.py index 903bfb7..25705d1 100644 --- a/blueprintcompiler/lsp.py +++ b/blueprintcompiler/lsp.py @@ -472,7 +472,7 @@ class LanguageServer: ), } - if isinstance(err, DeprecationWarning): + if isinstance(err, DeprecatedWarning): result["tags"] = [DiagnosticTag.Deprecated] if isinstance(err, UnusedWarning):