1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Use stdout/-err for all messages in HTML5 platform

This commit is contained in:
Leon Krause
2019-02-24 04:40:06 +01:00
parent 81554dac61
commit 76522624cb
4 changed files with 8 additions and 8 deletions

View File

@@ -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 */