✨ 🛵 jsonRead.ts
This commit is contained in:
@@ -14,3 +14,4 @@ const UTF8_BOM = '\uFEFF'
|
|||||||
export function stripBOM(content: string): string {
|
export function stripBOM(content: string): string {
|
||||||
return content.startsWith(UTF8_BOM) ? content.slice(1) : content
|
return content.startsWith(UTF8_BOM) ? content.slice(1) : content
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user