From 7141a4c678a67fb06f10ec4c27b407c2e36bd3f7 Mon Sep 17 00:00:00 2001 From: Hugo Heuzard Date: Tue, 19 Nov 2024 10:59:02 +0100 Subject: [PATCH] no longer rely on joo_global_object --- src/alcotest/runtime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/alcotest/runtime.js b/src/alcotest/runtime.js index 3a0c5ef0..90b47f85 100644 --- a/src/alcotest/runtime.js +++ b/src/alcotest/runtime.js @@ -23,7 +23,7 @@ function alcotest_after_test (vstdout, vstderr){ //Provides: ocaml_alcotest_get_terminal_dimensions function ocaml_alcotest_get_terminal_dimensions(unit) { - var p = joo_global_object.process + var p = globalThis.process if(p && p.stdout && p.stdout.columns && p.stdout.rows) { return [0, [0, p.stdout.rows, p.stdout.columns]]; }