Skip to content

Commit 0a49b0a

Browse files
authored
chore(compiler): No longer rely on joo_global_object (#2206)
1 parent f54dbdf commit 0a49b0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/grainlsp/hacks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function caml_ml_open_descriptor_in(fd) {
5555
//Requires: caml_utf16_of_utf8
5656
function js_print_stdout(s) {
5757
var s = caml_utf16_of_utf8(s);
58-
var g = joo_global_object;
58+
var g = globalThis;
5959
if (g.process && g.process.stdout && g.process.stdout.write) {
6060
// Writing too much data at once causes node's stdout socket to choke
6161
// so we write it using 8-length chunks (which seem to flush quickly)

0 commit comments

Comments
 (0)