summaryrefslogtreecommitdiff
path: root/cli/emit.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/emit.rs')
-rw-r--r--cli/emit.rs4
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,