(stack: string)
| 147 | } |
| 148 | |
| 149 | function clipStack(stack: string): string { |
| 150 | if (Buffer.byteLength(stack, 'utf-8') <= STACK_MAX_BYTES) return stack; |
| 151 | return clipBytes(stack, STACK_MAX_BYTES); |
| 152 | } |
| 153 | |
| 154 | function indentStack(stack: string): string { |
| 155 | return stack |
no test coverage detected