From dbc4a4d6327062918b3bc41dc3f60c84ae3c620b Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 20 Feb 2024 13:39:03 -0500 Subject: chore: fix flaky lsp_vendor_dir (#22483) I think it was occassionally reading the diagnostics from the previous cache command rather than the config update. Closes #22481 --- tests/util/server/src/lsp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/util/server/src') diff --git a/tests/util/server/src/lsp.rs b/tests/util/server/src/lsp.rs index 6b8256fc1..cc6808390 100644 --- a/tests/util/server/src/lsp.rs +++ b/tests/util/server/src/lsp.rs @@ -799,7 +799,7 @@ impl LspClient { result.as_u64().unwrap() as usize } - /// Reads the latest diagnostics. It's assumed that + /// Reads the latest diagnostics. pub fn read_diagnostics(&mut self) -> CollectedDiagnostics { // wait for three (deno, lint, and typescript diagnostics) batch // notification messages for that index -- cgit v1.2.3