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) })?;