Skip to content

Commit

Permalink
chore(compiler): No longer rely on joo_global_object (#2206)
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo authored Dec 29, 2024
1 parent f54dbdf commit 0a49b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/grainlsp/hacks.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function caml_ml_open_descriptor_in(fd) {
//Requires: caml_utf16_of_utf8
function js_print_stdout(s) {
var s = caml_utf16_of_utf8(s);
var g = joo_global_object;
var g = globalThis;
if (g.process && g.process.stdout && g.process.stdout.write) {
// Writing too much data at once causes node's stdout socket to choke
// so we write it using 8-length chunks (which seem to flush quickly)
Expand Down

0 comments on commit 0a49b0a

Please sign in to comment.