Skip to content

Commit

Permalink
Ignore the clang-format for JS code
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-derevenetz committed Jan 3, 2025
1 parent 3473526 commit 00bab79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/engine/serialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,9 @@ void StreamFile::close()
_file.reset();

#ifdef __EMSCRIPTEN__
EM_ASM( FS.syncfs( err = > err && console.warn( "FS.syncfs() error:", err ) ) );
// clang-format off
EM_ASM( FS.syncfs( err => err && console.warn( "FS.syncfs() error:", err ) ) );
// clang-format on
#endif
}

Expand Down

0 comments on commit 00bab79

Please sign in to comment.