minor fixes (#2957)

* minor fixes

* more minor touchups

* minor fix

* fix release notes display
This commit is contained in:
Matt Hill
2025-06-05 17:02:54 -06:00
committed by GitHub
parent ab6ca8e16a
commit e7469388cc
16 changed files with 111 additions and 54 deletions

View File

@@ -20,7 +20,7 @@ export function formatProgress({ phases, overall }: T.FullProgress): {
}
} => p.progress !== true && p.progress !== null,
)
.map(p => `<b>${p.name}</b>: (${getPhaseBytes(p.progress)})`)
.map(p => `<b>${p.name}</b>${getPhaseBytes(p.progress)}`)
.join(', '),
}
}
@@ -42,6 +42,6 @@ function getPhaseBytes(
done: number
total: number | null
},
): string {
return !progress ? 'unknown' : `${progress.done}/${progress.total}`
) {
return progress ? `: ${progress.done}/${progress.total}` : ''
}