Skip to content

Commit

Permalink
No longer rely on joo_global_object (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo authored Feb 7, 2025
1 parent f3df51d commit f49a310
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 f49a310

Please sign in to comment.