(content: string)
| 1605 | |
| 1606 | // strip UTF-8 BOM |
| 1607 | export function stripBomTag(content: string): string { |
| 1608 | if (content.charCodeAt(0) === 0xfeff) { |
| 1609 | return content.slice(1) |
| 1610 | } |
| 1611 | |
| 1612 | return content |
| 1613 | } |
| 1614 | |
| 1615 | /** |
| 1616 | * Determine if a file is being requested with the correct case, to ensure |
no outgoing calls
no test coverage detected