Skip to content

Commit 6c7a856

Browse files
Apply suggestion from @sindresorhus
Co-authored-by: Sindre Sorhus <[email protected]>
1 parent 46c6a43 commit 6c7a856

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/log-update.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const create = (stream: Writable, {showCursor = false} = {}): LogUpdate => {
2525
return;
2626
}
2727

28-
const prevCount = previousLines.length;
28+
const previousCount = previousLines.length;
2929
const nextLines = output.split('\n');
3030
const nextCount = nextLines.length;
3131
const visibleCount = nextCount - 1;

0 commit comments

Comments
 (0)