check ts too

pull/4965/head
Divyansh Singh 2 months ago
parent acea0cba96
commit 4f18630a8f

@ -94,7 +94,7 @@ class GitLogParser extends Transform {
ts: Number.parseInt(ts, 10) * 1000,
files: this.#files.slice()
}
if (rec.files.length > 0) this.push(rec)
if (rec.ts > 0 && rec.files.length > 0) this.push(rec)
this.#tsBytes.length = 0
this.#fileBytes.length = 0

Loading…
Cancel
Save