Switch from removing all directories in the container dir to removing the non-version dir

This commit is contained in:
Mikayla Maki 2023-03-31 12:36:23 -07:00
parent 0ae298a86f
commit dcaa355ad2

View file

@ -84,7 +84,7 @@ impl LspAdapter for JsonLspAdapter {
) )
.await?; .await?;
remove_matching(&container_dir, |entry| entry != server_path).await; remove_matching(&container_dir, |entry| entry != version_dir).await;
} }
Ok(LanguageServerBinary { Ok(LanguageServerBinary {