summaryrefslogtreecommitdiff
path: root/cli/worker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/worker.rs')
-rw-r--r--cli/worker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/worker.rs b/cli/worker.rs
index c41184c69..71a42dd8d 100644
--- a/cli/worker.rs
+++ b/cli/worker.rs
@@ -34,7 +34,7 @@ impl Worker {
});
let state_ = state.clone();
i.set_js_error_create(move |v8_exception| {
- JSError::from_v8_exception(v8_exception, &state_.dir)
+ JSError::from_v8_exception(v8_exception, &state_.ts_compiler)
})
}
Self { isolate, state }