MCPcopy
hub / github.com/codeaashu/claude-code / extractReceivedFromMessage

Function extractReceivedFromMessage

src/utils/settings/validation.ts:92–95  ·  view source on GitHub ↗
(msg: string)

Source from the content-addressed store, hash-verified

90}
91
92function extractReceivedFromMessage(msg: string): string | undefined {
93 const match = msg.match(/received (\w+)/)
94 return match ? match[1] : undefined
95}
96
97export function formatZodError(
98 error: ZodError,

Callers 1

formatZodErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected