We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f54dbdf commit 0a49b0aCopy full SHA for 0a49b0a
compiler/grainlsp/hacks.js
@@ -55,7 +55,7 @@ function caml_ml_open_descriptor_in(fd) {
55
//Requires: caml_utf16_of_utf8
56
function js_print_stdout(s) {
57
var s = caml_utf16_of_utf8(s);
58
- var g = joo_global_object;
+ var g = globalThis;
59
if (g.process && g.process.stdout && g.process.stdout.write) {
60
// Writing too much data at once causes node's stdout socket to choke
61
// so we write it using 8-length chunks (which seem to flush quickly)
0 commit comments