mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
chore: add tests for moduleGraph2 (#23603)
Also did some renames from underscores to hyphens
This commit is contained in:
parent
67d00fb1e3
commit
48daf2dc88
37 changed files with 127 additions and 66 deletions
1
cli/cache/mod.rs
vendored
1
cli/cache/mod.rs
vendored
|
@ -296,6 +296,7 @@ impl Loader for FetchCacher {
|
|||
source: &Arc<[u8]>,
|
||||
module_info: &deno_graph::ModuleInfo,
|
||||
) {
|
||||
log::debug!("Caching module info for {}", specifier);
|
||||
let source_hash = ModuleInfoCacheSourceHash::from_source(source);
|
||||
let result = self.module_info_cache.set_module_info(
|
||||
specifier,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue