Remove CLI flag which old versions of NPM do not like

TODO: Bundle or version restrict Node
This commit is contained in:
Julia 2023-03-16 13:07:09 -04:00
parent 356b8c6980
commit 24dba2157f

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