diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-06-05 11:04:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-05 17:04:16 +0200 |
commit | 7ed90a20d04982ae15a52ae2378cbffd4b6839df (patch) | |
tree | 3297d6f7227fbf1cf80e17a2a376ef4dfa52e6ad /cli/npm/managed/installer.rs | |
parent | 0544d60012006b1c7799d8b6eafacec9567901ad (diff) |
fix: better handling of npm resolution occurring on workers (#24094)
Closes https://github.com/denoland/deno/issues/24063
Diffstat (limited to 'cli/npm/managed/installer.rs')
-rw-r--r-- | cli/npm/managed/installer.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/npm/managed/installer.rs b/cli/npm/managed/installer.rs index f762be70e..694e01206 100644 --- a/cli/npm/managed/installer.rs +++ b/cli/npm/managed/installer.rs @@ -105,7 +105,8 @@ impl PackageJsonDepsInstaller { let (req, info) = result?; let result = inner .npm_resolution - .resolve_pkg_req_as_pending_with_info(req, &info); + .resolve_pkg_req_as_pending_with_info(req, &info) + .await; if let Err(err) = result { if inner.npm_registry_api.mark_force_reload() { log::debug!("Failed to resolve package. Retrying. Error: {err:#}"); |