mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 18:39:07 +08:00
Run npm format
This commit is contained in:
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(
|
||||||
0,
|
`Uploaded ${fileName} (${percentage.slice(
|
||||||
percentage.indexOf('.') + 2
|
0,
|
||||||
)}%) chunks ${chunkStartIndex}:${chunkEndIndex}`)
|
percentage.indexOf('.') + 2
|
||||||
|
)}%) chunks ${chunkStartIndex}:${chunkEndIndex}`
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
stop(): void {
|
stop(): void {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user