[ty] Don't send publish diagnostics for clients supporting pull diagnostics (#21772)

This commit is contained in:
Micha Reiser
2025-12-04 08:12:04 +01:00
committed by GitHub
parent e2b72fbf99
commit a9f2bb41bd
10 changed files with 138 additions and 37 deletions

View File

@@ -79,8 +79,7 @@ fn run_corpus_tests(pattern: &str) -> anyhow::Result<()> {
let root = SystemPathBuf::from("/src");
let mut db = CorpusDb::new();
db.memory_file_system()
.create_directory_all(root.as_ref())?;
db.memory_file_system().create_directory_all(&root)?;
let workspace_root = get_cargo_workspace_root()?;
let workspace_root = workspace_root.to_string();