Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zth committed Apr 27, 2024
1 parent f9f51f5 commit e650de4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/example/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ services:
<<: *build
depends_on:
- build
command: npx jest -c jest-cjs.config.ts index.test.ts
command: npx jest -c jest-cjs.config.ts rescript.test.js

test-update-snapshots:
<<: *build
Expand Down
2 changes: 1 addition & 1 deletion packages/wire/src/protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export const parseMessage = <Params extends object>(
// The + 5 is made up of 1 byte for readInt8 and 4 bytes for readUInt32BE
if (bufferOffset + 5 > buf.length) {
return {
type: "IncompleteMessageError",
type: 'IncompleteMessageError',
messageName: message.name,
};
}
Expand Down

0 comments on commit e650de4

Please sign in to comment.