Skip to content

Commit

Permalink
no longer rely on joo_global_object
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo committed Nov 19, 2024
1 parent 8d30762 commit 7141a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/alcotest/runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]];
}
Expand Down

0 comments on commit 7141a4c

Please sign in to comment.