We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c3e391 commit c8fb6aeCopy full SHA for c8fb6ae
lib/wasm/wasm_exec.js
@@ -14,7 +14,7 @@
14
if (!globalThis.fs) {
15
let outputBuf = "";
16
globalThis.fs = {
17
- constants: { O_WRONLY: -1, O_RDWR: -1, O_CREAT: -1, O_TRUNC: -1, O_APPEND: -1, O_EXCL: -1 }, // unused
+ constants: { O_WRONLY: -1, O_RDWR: -1, O_CREAT: -1, O_TRUNC: -1, O_APPEND: -1, O_EXCL: -1, O_DIRECTORY: -1 }, // unused
18
writeSync(fd, buf) {
19
outputBuf += decoder.decode(buf);
20
const nl = outputBuf.lastIndexOf("\n");
0 commit comments