From 8dd9d5f5239f9f842f7096a540f866bd4f10b72c Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 10 Jul 2023 17:45:09 -0400 Subject: refactor(lsp): move config file related code to config.rs (#19790) Will make #19788 easier. --- cli/cache/parsed_source.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/cache/parsed_source.rs') 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)] -- cgit v1.2.3