From b9daaedf69224098cb17f236bb12bf0bf60b1589 Mon Sep 17 00:00:00 2001 From: akvlad Date: Fri, 17 Nov 2023 11:10:21 +0200 Subject: [PATCH] fix: b not defined --- wasm_parts/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wasm_parts/main.js b/wasm_parts/main.js index 213ceadd..8901bf31 100644 --- a/wasm_parts/main.js +++ b/wasm_parts/main.js @@ -271,7 +271,7 @@ class Uint8ArrayWriter { writeString (str) { const bStr = (new TextEncoder()).encode(str) this.writeULeb(bStr.length) - this.maybeGrow(b.length) + this.maybeGrow(bStr.length) this.buf.set(bStr, this.i) this.i += bStr.length return this