We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50cd487 commit b715616Copy full SHA for b715616
repl/web/wasm_exec.js
@@ -2,6 +2,10 @@
2
// Use of this source code is governed by a BSD-style
3
// license that can be found in the LICENSE file.
4
5
+// Slightly modified by ncw to:
6
+// * add empty implementation of fsyncSync
7
+// See wasm_exec.js.patch for details
8
+
9
(() => {
10
// Map web browser API and Node.js API to a single common API (preferring web standards over Node.js API).
11
const isNodeJS = typeof process !== "undefined";
@@ -59,6 +63,8 @@
59
63
err.code = "ENOSYS";
60
64
callback(err);
61
65
},
66
+ fsyncSync(fd) {
67
+ },
62
68
};
69
}
70
0 commit comments