Merge pull request #2294 from zed-industries/remove-flag-old-npm-does-not-like

Remove CLI flag which old versions of NPM do not like
This commit is contained in:
Julia
2023-03-16 13:11:45 -04:00
committed by GitHub
-1
View File
@@ -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