summaryrefslogtreecommitdiff
path: root/cli/module_graph.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/module_graph.rs')
-rw-r--r--cli/module_graph.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/module_graph.rs b/cli/module_graph.rs
index 22b629c1a..f0645424e 100644
--- a/cli/module_graph.rs
+++ b/cli/module_graph.rs
@@ -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();