aboutsummaryrefslogtreecommitdiff
path: root/src/js/out/modules/node/wasi.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/out/modules/node/wasi.js')
-rw-r--r--src/js/out/modules/node/wasi.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/out/modules/node/wasi.js b/src/js/out/modules/node/wasi.js
index f449f1e46..ab6cf6abf 100644
--- a/src/js/out/modules/node/wasi.js
+++ b/src/js/out/modules/node/wasi.js
@@ -1062,8 +1062,8 @@ var nodeFsConstants = constants, __getOwnPropNames = Object.getOwnPropertyNames,
}
}
initWasiFdInfo() {
- if (this.env["WASI_FD_INFO"] != null) {
- const fdInfo = JSON.parse(this.env["WASI_FD_INFO"]);
+ if (this.env.WASI_FD_INFO != null) {
+ const fdInfo = JSON.parse(this.env.WASI_FD_INFO);
for (let wasi_fd in fdInfo) {
console.log(wasi_fd);
const fd = parseInt(wasi_fd);