mirror of
https://github.com/denoland/deno.git
synced 2025-09-28 13:14:48 +00:00
parent
374d433f1f
commit
10654fa955
15 changed files with 880 additions and 83 deletions
|
@ -465,7 +465,7 @@ impl ModuleGraphLoader {
|
|||
filename: source_file.filename.to_str().unwrap().to_string(),
|
||||
version_hash: checksum::gen(&[
|
||||
&source_file.source_code.as_bytes(),
|
||||
version::DENO.as_bytes(),
|
||||
&version::DENO.as_bytes(),
|
||||
]),
|
||||
media_type: source_file.media_type,
|
||||
source_code: "".to_string(),
|
||||
|
@ -481,7 +481,7 @@ impl ModuleGraphLoader {
|
|||
let module_specifier = ModuleSpecifier::from(source_file.url.clone());
|
||||
let version_hash = checksum::gen(&[
|
||||
&source_file.source_code.as_bytes(),
|
||||
version::DENO.as_bytes(),
|
||||
&version::DENO.as_bytes(),
|
||||
]);
|
||||
let source_code = source_file.source_code.clone();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue