summaryrefslogtreecommitdiff
path: root/cli/module_graph.rs
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-10-14 10:52:49 +1100
committerGitHub <noreply@github.com>2020-10-14 10:52:49 +1100
commit10654fa95553866c63a56a7f84c7ec47fb7aac9c (patch)
tree011b6f67259db903cda6bf61d439fdeec588835d /cli/module_graph.rs
parent374d433f1f4885686dc5c166be3a25c839e22959 (diff)
refactor(cli): add tsc2 (#7942)
Ref #7225
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();