diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-07-10 17:45:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-10 21:45:09 +0000 |
commit | 8dd9d5f5239f9f842f7096a540f866bd4f10b72c (patch) | |
tree | 159ea977036a2ed76ce61d3ba2da9239a6f287a3 /cli/emit.rs | |
parent | 629d09b149ab42cc4c3cebc41e0f23112ace891c (diff) |
refactor(lsp): move config file related code to config.rs (#19790)
Will make #19788 easier.
Diffstat (limited to 'cli/emit.rs')
-rw-r--r-- | cli/emit.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/emit.rs b/cli/emit.rs index b71ca97ab..e81d2e83c 100644 --- a/cli/emit.rs +++ b/cli/emit.rs @@ -26,9 +26,7 @@ impl Emitter { parsed_source_cache: Arc<ParsedSourceCache>, emit_options: deno_ast::EmitOptions, ) -> Self { - let emit_options_hash = FastInsecureHasher::new() - .write_hashable(&emit_options) - .finish(); + let emit_options_hash = FastInsecureHasher::hash(&emit_options); Self { emit_cache, parsed_source_cache, |