diff options
Diffstat (limited to 'cli/resolver.rs')
-rw-r--r-- | cli/resolver.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cli/resolver.rs b/cli/resolver.rs index 5861a758f..46badfe8a 100644 --- a/cli/resolver.rs +++ b/cli/resolver.rs @@ -237,9 +237,15 @@ impl NpmResolver for CliGraphResolver { if self.no_npm { bail!("npm specifiers were requested; but --no-npm is specified") } - self + match self .npm_resolution .resolve_package_req_as_pending(package_req) + { + Ok(nv) => Ok(nv), + Err(err) => { + bail!("{:#} Try retrieving the latest npm package information by running with --reload", err) + } + } } } |