summaryrefslogtreecommitdiff
path: root/cli/worker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/worker.rs')
-rw-r--r--cli/worker.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/worker.rs b/cli/worker.rs
index a0168a1f3..23dd63119 100644
--- a/cli/worker.rs
+++ b/cli/worker.rs
@@ -517,10 +517,10 @@ async fn create_main_worker_internal(
location: ps.options.location_flag().clone(),
no_color: !colors::use_color(),
is_tty: colors::is_tty(),
- runtime_version: version::deno(),
+ runtime_version: version::deno().to_string(),
ts_version: version::TYPESCRIPT.to_string(),
unstable: ps.options.unstable(),
- user_agent: version::get_user_agent(),
+ user_agent: version::get_user_agent().to_string(),
inspect: ps.options.is_inspecting(),
},
extensions,
@@ -685,10 +685,10 @@ fn create_web_worker_callback(
location: Some(args.main_module.clone()),
no_color: !colors::use_color(),
is_tty: colors::is_tty(),
- runtime_version: version::deno(),
+ runtime_version: version::deno().to_string(),
ts_version: version::TYPESCRIPT.to_string(),
unstable: ps.options.unstable(),
- user_agent: version::get_user_agent(),
+ user_agent: version::get_user_agent().to_string(),
inspect: ps.options.is_inspecting(),
},
extensions,