Skip to content

Commit 6d19872

Browse files
CrowdHailerlpil
authored andcommitted
fix clash with name process
1 parent 277a997 commit 6d19872

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-core/templates/echo.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function echo(value, message, file, line) {
99
if (globalThis.process?.stderr?.write) {
1010
// If we're in Node.js, use `stderr`
1111
const string = `${grey}${file_line}${reset_color}${string_message}\n${string_value}\n`;
12-
process.stderr.write(string);
12+
globalThis.process.stderr.write(string);
1313
} else if (globalThis.Deno) {
1414
// If we're in Deno, use `stderr`
1515
const string = `${grey}${file_line}${reset_color}${string_message}\n${string_value}\n`;

0 commit comments

Comments
 (0)