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, 2 insertions, 2 deletions
diff --git a/cli/emit.rs b/cli/emit.rs
index 98ee59fab..61397d1ab 100644
--- a/cli/emit.rs
+++ b/cli/emit.rs
@@ -18,7 +18,7 @@ use deno_graph::ModuleGraph;
use std::sync::Arc;
pub struct Emitter {
- emit_cache: EmitCache,
+ emit_cache: Arc<EmitCache>,
parsed_source_cache: Arc<ParsedSourceCache>,
transpile_and_emit_options:
Arc<(deno_ast::TranspileOptions, deno_ast::EmitOptions)>,
@@ -28,7 +28,7 @@ pub struct Emitter {
impl Emitter {
pub fn new(
- emit_cache: EmitCache,
+ emit_cache: Arc<EmitCache>,
parsed_source_cache: Arc<ParsedSourceCache>,
transpile_options: deno_ast::TranspileOptions,
emit_options: deno_ast::EmitOptions,