From d9fa2dd5505a773ac2c8eb6ca2a8bbd237aca35d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 5 Mar 2024 01:17:39 +0000 Subject: chore: upgrade deno_core (#22699) Co-authored-by: Matt Mastracci --- cli/lsp/tsc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/lsp') diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs index 138640d7f..ce848c210 100644 --- a/cli/lsp/tsc.rs +++ b/cli/lsp/tsc.rs @@ -4186,7 +4186,7 @@ fn start_tsc(runtime: &mut JsRuntime, debug: bool) -> Result<(), AnyError> { let init_config = json!({ "debug": debug }); let init_src = format!("globalThis.serverInit({init_config});"); - runtime.execute_script(located_script_name!(), init_src.into())?; + runtime.execute_script(located_script_name!(), init_src)?; Ok(()) } @@ -4564,7 +4564,7 @@ fn request( "globalThis.serverRequest({id}, \"{}\", {});", request.method, &request.args ); - runtime.execute_script(located_script_name!(), request_src.into())?; + runtime.execute_script(located_script_name!(), request_src)?; let op_state = runtime.op_state(); let mut op_state = op_state.borrow_mut(); -- cgit v1.2.3