Skip to content

Commit a8d6474

Browse files
author
Sahar Shemesh
committed
fix: lint
1 parent 75b95af commit a8d6474

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/shared/stdio.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { ZodError } from 'zod';
21
import { JSONRPCMessage, JSONRPCMessageSchema } from '../types.js';
32

43
/**
@@ -35,7 +34,7 @@ export function deserializeMessage(line: string): JSONRPCMessage | null {
3534
try {
3635
return JSONRPCMessageSchema.parse(JSON.parse(line));
3736
} catch (error: unknown) {
38-
// When non-JSON messages are received, we ignore them.
37+
// When non-JSON messages are received, we simply ignore them.
3938
if (error instanceof SyntaxError) {
4039
return null;
4140
}

0 commit comments

Comments
 (0)