diff options
Diffstat (limited to 'cli/lsp')
-rw-r--r-- | cli/lsp/tsc.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |