Replace LF with CRLF

This commit is contained in:
freearhey
2025-10-09 03:20:46 +03:00
parent 4861c60b74
commit 60fde4cc8c
30 changed files with 3590 additions and 3588 deletions

View File

@@ -1,14 +1,14 @@
export type LogItem = {
type: string
filepath: string
count: number
}
export class LogParser {
parse(content: string): LogItem[] {
if (!content) return []
const lines = content.split('\n')
return lines.map(line => (line ? JSON.parse(line) : null)).filter(l => l)
}
}
export type LogItem = {
type: string
filepath: string
count: number
}
export class LogParser {
parse(content: string): LogItem[] {
if (!content) return []
const lines = content.split('\n')
return lines.map(line => (line ? JSON.parse(line) : null)).filter(l => l)
}
}