mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
core: replace ModuleSpecifier::to_url() by as_url()
This commit is contained in:
parent
72d9045528
commit
f4c9b31405
4 changed files with 11 additions and 13 deletions
|
@ -199,8 +199,8 @@ impl DenoDir {
|
|||
use_cache: bool,
|
||||
no_fetch: bool,
|
||||
) -> impl Future<Item = ModuleMetaData, Error = deno_error::DenoError> {
|
||||
let module_url = specifier.to_url();
|
||||
debug!("fetch_module_meta_data. specifier {} ", module_url);
|
||||
let module_url = specifier.as_url().to_owned();
|
||||
debug!("fetch_module_meta_data. specifier {} ", &module_url);
|
||||
|
||||
let result = self.url_to_deps_path(&module_url);
|
||||
if let Err(err) = result {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue