Remove `TODO` in `JsonLspAdapter` (#15338)

张小白 created

As the post-install issue is fixed via #15331 , we can remove this
`TODO` now. I have tested on win11, it works fine.

Release Notes:

- N/A

Change summary

crates/languages/src/json.rs | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

Detailed changes

crates/languages/src/json.rs 🔗

@@ -166,11 +166,9 @@ impl LspAdapter for JsonLspAdapter {
             .await;
 
         if should_install_language_server {
-            // TODO: the postinstall fails on Windows
             self.node
                 .npm_install_packages(&container_dir, &[(package_name, latest_version.as_str())])
-                .await
-                .log_err();
+                .await?;
         }
 
         Ok(LanguageServerBinary {