Unverified Commit efef7655 authored by Niklas Mischkulnig's avatar Niklas Mischkulnig Committed by GitHub

Apply suggestion from @mischnic

parent 84f0091b
......@@ -53,7 +53,7 @@ export const createProgress = (total: number, label: string) => {
// - per fully generated segment, or
// - per minute
// when not showing the spinner
if (!process.env.IS_TTY) {
if (!process.stdout.isTTY) {
currentSegmentCount++
if (currentSegmentCount === currentSegmentTotal) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment