Fix various linter errors

This commit is contained in:
Girish Ramakrishnan
2026-02-15 19:37:30 +01:00
parent 510e1c7296
commit b5a1554631
24 changed files with 44 additions and 1607 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ class LogStream extends TransformStream {
_transform(chunk, encoding, callback) {
const data = this._soFar + this._decoder.write(chunk);
let start = this._soFar.length, end = -1;
let start = this._soFar.length, end;
while ((end = data.indexOf('\n', start)) !== -1) {
const line = data.slice(start, end); // does not include end
this.push(this._format(line));