Skip to content

Commit

Permalink
Fix for caching issue (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiknadig committed Oct 13, 2023
1 parent 01f9a73 commit 18f00b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundled/tool/lsp_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def _linting_helper(document: workspace.Document) -> list[lsp.Diagnostic]:
code_workspace = _get_settings_by_document(document)["workspaceFS"]
if VERSION_TABLE.get(code_workspace, None):
major, minor, _ = VERSION_TABLE[code_workspace]
if major == 2 and minor >= 16:
if (major, minor) >= (2, 16):
extra_args += ["--clear-cache-post-run=y"]

result = _run_tool_on_document(document, use_stdin=True, extra_args=extra_args)
Expand Down

0 comments on commit 18f00b3

Please sign in to comment.