mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Use stdout/-err for all messages in HTML5 platform
This commit is contained in:
parent
81554dac61
commit
76522624cb
4 changed files with 8 additions and 8 deletions
|
|
@ -986,8 +986,8 @@ bool OS_JavaScript::main_loop_iterate() {
|
|||
if (sync_wait_time < 0) {
|
||||
/* clang-format off */
|
||||
EM_ASM(
|
||||
FS.syncfs(function(err) {
|
||||
if (err) { console.warn('Failed to save IDB file system: ' + err.message); }
|
||||
FS.syncfs(function(error) {
|
||||
if (error) { err('Failed to save IDB file system: ' + error.message); }
|
||||
});
|
||||
);
|
||||
/* clang-format on */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue