mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 04:39:10 +00:00
refactor: remove CliNpmRegistryApi
(#27222)
Extracts more code out of the CLI.
This commit is contained in:
parent
d5b63bb642
commit
8cd257de3d
15 changed files with 242 additions and 301 deletions
|
@ -42,7 +42,7 @@ pub struct DownloadError {
|
|||
|
||||
impl std::error::Error for DownloadError {
|
||||
fn source(&self) -> Option<&(dyn std::error::Error + 'static)> {
|
||||
Some(self.error.as_ref())
|
||||
self.error.source()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue