Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Remove CLI flag which old versions of NPM do not like

Julia24dba2157faf
diff --git a/crates/zed/src/languages/installation.rs b/crates/zed/src/languages/installation.rs
index df28177f0ba..80bb1c95009 100644
--- a/crates/zed/src/languages/installation.rs
+++ b/crates/zed/src/languages/installation.rs
@@ -39,7 +39,6 @@ pub async fn npm_package_latest_version(name: &str) -> Result<String> {
let output = smol::process::Command::new("npm")
.args(["-fetch-retry-mintimeout", "2000"])
.args(["-fetch-retry-maxtimeout", "5000"])
- .args(["-fetch-timeout", "5000"])
.args(["info", name, "--json"])
.output()
.await