mirror of
https://github.com/bcomnes/deploy-to-neocities.git
synced 2026-01-22 17:24:28 +00:00
1.0.0
This commit is contained in:
2
node_modules/async-neocities/lib/stats-handler.js
generated
vendored
2
node_modules/async-neocities/lib/stats-handler.js
generated
vendored
@@ -49,7 +49,7 @@ function statsHandler (opts = {}) {
|
||||
}
|
||||
|
||||
function logProgress (stats) {
|
||||
let logLine = `Stage ${stats.stage}: ${stats.progress * 100}%`
|
||||
let logLine = `Stage ${stats.stage}: ${(stats.progress * 100).toFixed(2)}%`
|
||||
if (stats.bytesWritten != null && stats.totalBytes != null) {
|
||||
logLine = logLine + ` (${prettyBytes(stats.bytesWritten)} / ${prettyBytes(stats.totalBytes)})`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user