(name = '')
| 5 | const EMOJI_PREFIX = /^[\p{Extended_Pictographic}\uFE0F\s]+/u; |
| 6 | |
| 7 | export function stripFieldLabel(name = '') { |
| 8 | return name.replace(EMOJI_PREFIX, '').trim() || name; |
| 9 | } |
| 10 | |
| 11 | export function formatLogLine(label, value) { |
| 12 | return `**${label}:** ${value}`; |
no outgoing calls
no test coverage detected