this repo has no description

fix: message in 'echo .. as ..' is omitted in browser

Signed-off-by: Andrey <190183925+ankddev@users.noreply.github.com>

authored by

Andrey and committed by
Louis Pilfold
5d777af1 5288b747

+4 -1
+3
CHANGELOG.md
··· 269 269 - Fixed a bug where renaming a constant which is referenced in another module 270 270 inside a guard would generate invalid code. 271 271 ([Surya Rose](https://github.com/GearsDatapacks)) 272 + 273 + - Fixed a bug where `echo .. as ..` message will be omitted in browser target. 274 + ([Andrey Kozhev](https://github.com/ankddev))
+1 -1
compiler-core/templates/echo.mjs
··· 17 17 } else { 18 18 // Otherwise, use `console.log` 19 19 // The browser's console.log doesn't support ansi escape codes 20 - const string = `${file_line}\n${string_value}`; 20 + const string = `${file_line}${string_message}\n${string_value}`; 21 21 globalThis.console.log(string); 22 22 } 23 23