mirror of https://github.com/actions/toolkit
Run npm format
parent
cfba9377f8
commit
d0c9131261
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue