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/tsc/mod.rs | |
parent | 0022c35a237773b50a771b0fef48cac734f7a9d6 (diff) |
chore: upgrade deno_core (#22699)
Co-authored-by: Matt Mastracci <matthew@mastracci.com>
Diffstat (limited to 'cli/tsc/mod.rs')
-rw-r--r-- | cli/tsc/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tsc/mod.rs b/cli/tsc/mod.rs index e2e11e440..4961d1ed9 100644 --- a/cli/tsc/mod.rs +++ b/cli/tsc/mod.rs @@ -848,7 +848,7 @@ pub fn exec(request: Request) -> Result<Response, AnyError> { "rootNames": root_names, "localOnly": request.check_mode == TypeCheckMode::Local, }); - let exec_source = format!("globalThis.exec({request_value})").into(); + let exec_source = format!("globalThis.exec({request_value})"); let mut runtime = JsRuntime::new(RuntimeOptions { startup_snapshot: Some(compiler_snapshot()), @@ -1007,7 +1007,7 @@ mod tests { ..Default::default() }); js_runtime - .execute_script_static( + .execute_script( "<anon>", r#" if (!(globalThis.exec)) { |