Skip to content

Commit

Permalink
fix: b not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
akvlad committed Nov 17, 2023
1 parent f4c8073 commit 6a20ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wasm_parts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6a20ab9

Please sign in to comment.