diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-03-05 01:17:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-05 01:17:39 +0000 |
commit | d9fa2dd5505a773ac2c8eb6ca2a8bbd237aca35d (patch) | |
tree | ec5b0008f8095d3c03e6af31685ed99569163dd9 /cli/lsp | |
parent | 0022c35a237773b50a771b0fef48cac734f7a9d6 (diff) |
chore: upgrade deno_core (#22699)
Co-authored-by: Matt Mastracci <matthew@mastracci.com>
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(); |