We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78868dc commit 2bed8abCopy full SHA for 2bed8ab
bundled/tool/lsp_server.py
@@ -202,7 +202,6 @@ def _clear_diagnostics(document: workspace.Document) -> None:
202
203
204
def _linting_helper(document: workspace.Document) -> None:
205
- global _reported_file_paths
206
try:
207
extra_args = []
208
@@ -260,7 +259,7 @@ def _linting_helper(document: workspace.Document) -> None:
260
259
# an empty diagnostic is returned to clear any old errors out.
261
_clear_diagnostics(document)
262
263
- if reportingScope == ("workspace", "custom"):
+ if reportingScope in ("workspace", "custom"):
264
for file_path in _reported_file_paths:
265
if file_path not in parse_results:
266
uri = uris.from_fs_path(file_path)
0 commit comments