Normalize undefined runtime success results to null

Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
Cursor AgentandTheo Browne committed 2026-02-10 10:49:01 +00:00
1 parent 4b25e84c2e
commit 2a08d8ea2a
1 file changed
+1 -1
+1 -1
View File
@@ -96,7 +96,7 @@ function responseSuccess(id: string, result: unknown): WsResponseMessage {
type: "response",
id,
ok: true,
result,
result: result === undefined ? null : result,
};
}