summaryrefslogtreecommitdiff
path: root/cli/cache/parsed_source.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-07-10 17:45:09 -0400
committerGitHub <noreply@github.com>2023-07-10 21:45:09 +0000
commit8dd9d5f5239f9f842f7096a540f866bd4f10b72c (patch)
tree159ea977036a2ed76ce61d3ba2da9239a6f287a3 /cli/cache/parsed_source.rs
parent629d09b149ab42cc4c3cebc41e0f23112ace891c (diff)
refactor(lsp): move config file related code to config.rs (#19790)
Will make #19788 easier.
Diffstat (limited to 'cli/cache/parsed_source.rs')
-rw-r--r--cli/cache/parsed_source.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/cache/parsed_source.rs b/cli/cache/parsed_source.rs
index 6f9c2f38f..e231753d5 100644
--- a/cli/cache/parsed_source.rs
+++ b/cli/cache/parsed_source.rs
@@ -262,7 +262,7 @@ impl deno_graph::ModuleAnalyzer for ParsedSourceCacheModuleAnalyzer {
}
fn compute_source_hash(bytes: &[u8]) -> String {
- FastInsecureHasher::new().write(bytes).finish().to_string()
+ FastInsecureHasher::hash(bytes).to_string()
}
#[cfg(test)]