diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2020-11-30 11:28:25 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2020-11-30 12:07:20 +0100 |
commit | 742729ccfe98bb6c38453a45213d873f0579d1dd (patch) | |
tree | 1b06defb61e5d21d349955a1b2ef4da45e9da354 /platform/javascript/js | |
parent | e2a0c44d0617f01d0bc3a6e944d887b056b4ad4f (diff) |
[HTML5] Remove file flags from writeFile in setup.
Flags where deprecated and partly in removed in emscripten 2.0.9.
Diffstat (limited to 'platform/javascript/js')
-rw-r--r-- | platform/javascript/js/libs/library_godot_os.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/js/libs/library_godot_os.js b/platform/javascript/js/libs/library_godot_os.js index 488753d704..44b104922e 100644 --- a/platform/javascript/js/libs/library_godot_os.js +++ b/platform/javascript/js/libs/library_godot_os.js @@ -200,7 +200,7 @@ const GodotFS = { } FS.mkdirTree(dir); } - FS.writeFile(path, new Uint8Array(buffer), { 'flags': 'wx+' }); + FS.writeFile(path, new Uint8Array(buffer)); }, }, }; |