From af214c2c64d66a426049b0ff781c96880bc493ff Mon Sep 17 00:00:00 2001 From: Sandipsinh Rathod Date: Mon, 9 Sep 2024 13:58:32 -0400 Subject: [PATCH] explicitly specify return ty --- src/cli/javascript/runtime.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/javascript/runtime.rs b/src/cli/javascript/runtime.rs index 16aa0165a4..e568a060b8 100644 --- a/src/cli/javascript/runtime.rs +++ b/src/cli/javascript/runtime.rs @@ -38,7 +38,7 @@ impl TryFrom for LocalRuntime { let source = script.source; let js_runtime = rquickjs::Runtime::new()?; let context = Context::full(&js_runtime)?; - context.with(|ctx| { + let _: () = context.with(|ctx| { setup_builtins(&ctx)?; ctx.eval(source) })?;