We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01f9a73 commit 18f00b3Copy full SHA for 18f00b3
bundled/tool/lsp_server.py
@@ -116,7 +116,7 @@ def _linting_helper(document: workspace.Document) -> list[lsp.Diagnostic]:
116
code_workspace = _get_settings_by_document(document)["workspaceFS"]
117
if VERSION_TABLE.get(code_workspace, None):
118
major, minor, _ = VERSION_TABLE[code_workspace]
119
- if major == 2 and minor >= 16:
+ if (major, minor) >= (2, 16):
120
extra_args += ["--clear-cache-post-run=y"]
121
122
result = _run_tool_on_document(document, use_stdin=True, extra_args=extra_args)
0 commit comments