Skip to content

Commit 18f00b3

Browse files
committed
Fix for caching issue (#416)
1 parent 01f9a73 commit 18f00b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundled/tool/lsp_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def _linting_helper(document: workspace.Document) -> list[lsp.Diagnostic]:
116116
code_workspace = _get_settings_by_document(document)["workspaceFS"]
117117
if VERSION_TABLE.get(code_workspace, None):
118118
major, minor, _ = VERSION_TABLE[code_workspace]
119-
if major == 2 and minor >= 16:
119+
if (major, minor) >= (2, 16):
120120
extra_args += ["--clear-cache-post-run=y"]
121121

122122
result = _run_tool_on_document(document, use_stdin=True, extra_args=extra_args)

0 commit comments

Comments
 (0)