Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
defunctzombie committed Jul 3, 2024
1 parent bff7630 commit 72d25ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/reflection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,9 @@ export class Parser {

const offsetToOffset = table.offset + table.bb.__offset(table.offset, field.offset());
if (offsetToOffset === table.offset) {
throw new Error(`Malformed message: missing vector table for field: ${field.name()} despite the discriminator vector being present.`);
throw new Error(
`Malformed message: missing vector table for field: ${field.name()} despite the discriminator vector being present.`,
);
}

const numElements = table.bb.__vector_len(offsetToOffset);
Expand Down

0 comments on commit 72d25ca

Please sign in to comment.