Skip to content

Commit cb8b562

Browse files
committed
[js] Fix deserializing debugName
1 parent d6061c5 commit cb8b562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vm/js/nqp-runtime/deserialization.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ class BinaryCursor {
889889
*/
890890
cstr() {
891891
const len = this.varint();
892-
const str = this.buffer.slice(this.offset, len).toString('utf8');
892+
const str = this.buffer.slice(this.offset, this.offset + len).toString('utf8');
893893
this.offset += len;
894894
return str;
895895
}

0 commit comments

Comments
 (0)