From d0d574c264e6a93821efaaa869e9317121ff6797 Mon Sep 17 00:00:00 2001 From: Rob Wong Date: Tue, 26 Sep 2023 15:03:40 -0600 Subject: [PATCH] fix: revert accidental push --- demo-iota/js/node/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/demo-iota/js/node/index.js b/demo-iota/js/node/index.js index 107bb1c..7330fb3 100644 --- a/demo-iota/js/node/index.js +++ b/demo-iota/js/node/index.js @@ -51,7 +51,7 @@ app.post('/run', bodyParser.raw({ limit: '256mb', type: () => true }), async (re const stdinPath = `${os.tmpdir}/stdin_${Math.ceil(Math.random() * 10000)}.txt` fs.writeFileSync(stdinPath, req.body) const stdin = fs.openSync(stdinPath) - + const wasi = new WASI({ version: 'preview1', args: [req.query['name']], @@ -62,8 +62,6 @@ app.post('/run', bodyParser.raw({ limit: '256mb', type: () => true }), async (re const bytes = fs.readFileSync(`${os.tmpdir()}/${req.query['name']}.wasm`) const traceContext = await adapter.start(bytes) const module = new WebAssembly.Module(bytes) - console.log(bytes) - // console.log(module) const instance = await WebAssembly.instantiate(module, { ...wasi.getImportObject(), ...traceContext.getImportObject(),