1
0
Fork 0

Run npm format

pull/957/head
konradpabjan 2021-12-06 15:54:15 -05:00
parent cfba9377f8
commit d0c9131261
1 changed files with 6 additions and 4 deletions

View File

@ -53,10 +53,12 @@ export class StatusReporter {
): void { ): void {
// display 1 decimal place without any rounding // display 1 decimal place without any rounding
const percentage = this.formatPercentage(chunkEndIndex, totalUploadFileSize) const percentage = this.formatPercentage(chunkEndIndex, totalUploadFileSize)
info(`Uploaded ${fileName} (${percentage.slice( info(
`Uploaded ${fileName} (${percentage.slice(
0, 0,
percentage.indexOf('.') + 2 percentage.indexOf('.') + 2
)}%) chunks ${chunkStartIndex}:${chunkEndIndex}`) )}%) chunks ${chunkStartIndex}:${chunkEndIndex}`
)
} }
stop(): void { stop(): void {