Skip to content

Commit d15f7cd

Browse files
committed
chore: comments
1 parent 55b68b7 commit d15f7cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmap/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ export class DocumentSequence {
474474
this.chunks.push(buffer);
475475
// Write the new length.
476476
this.header?.writeInt32LE(4 + this.field.length + 1 + this.serializedDocumentsLength, 1);
477-
return this.serializedDocumentsLength + (this.header?.length ?? 0);
477+
return this.serializedDocumentsLength + this.header.length;
478478
}
479479

480480
/**

0 commit comments

Comments
 (0)