Skip to content

Commit

Permalink
fix diagnostics not being deleted when workspace removed i think
Browse files Browse the repository at this point in the history
  • Loading branch information
DetachHead committed Sep 25, 2024
1 parent d7d1256 commit b3fd848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pyright-internal/src/languageServerBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1330,7 +1330,7 @@ export abstract class LanguageServerBase implements LanguageServerInterface, Dis
}
this.sendDiagnostics(this.fs, {
fileUri: fileWithDiagnostics.fileUri,
diagnostics: fileWithDiagnostics.diagnostics,
diagnostics: [],
version: undefined,
});
}
Expand Down

0 comments on commit b3fd848

Please sign in to comment.