Reattempt Node installation if the installation itself errors

This also makes us a bit more aggressive about reinstalling Node
This commit is contained in:
Julia 2023-07-28 15:24:40 -04:00
parent b8690ec1d1
commit 46101bf110
4 changed files with 14 additions and 38 deletions

View file

@ -2364,7 +2364,7 @@ mod tests {
languages.set_executor(cx.background().clone());
let languages = Arc::new(languages);
let http = FakeHttpClient::with_404_response();
let node_runtime = NodeRuntime::instance(http, cx.background().to_owned());
let node_runtime = NodeRuntime::instance(http);
languages::init(languages.clone(), node_runtime);
for name in languages.language_names() {
languages.language_for_name(&name);