summaryrefslogtreecommitdiff
path: root/cli/global_state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/global_state.rs')
-rw-r--r--cli/global_state.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/global_state.rs b/cli/global_state.rs
index 6add7b7b4..2dfec4a72 100644
--- a/cli/global_state.rs
+++ b/cli/global_state.rs
@@ -160,11 +160,11 @@ impl GlobalState {
if should_compile {
if self.flags.no_check {
- self.ts_compiler.transpile(module_graph).await?;
+ self.ts_compiler.transpile(&module_graph).await?;
} else {
self
.ts_compiler
- .compile(self, &out, target_lib, permissions, module_graph, allow_js)
+ .compile(self, &out, target_lib, permissions, &module_graph, allow_js)
.await?;
}
}