src/internal/multiPart.ts
Showing 2 of 2 total issues
Function parseMultiPart
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function parseMultiPart( data: string): StatementResponseWithAttachments | StatementsResponseWithAttachments { const boundary = data.trim().split(crlf)[0].trim(); const parts = data
Function parseMultiPart
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
Open
export function parseMultiPart( data: string): StatementResponseWithAttachments | StatementsResponseWithAttachments { const boundary = data.trim().split(crlf)[0].trim(); const parts = data
- Read upRead up