mirror of
https://github.com/bcomnes/deploy-to-neocities.git
synced 2026-01-22 17:24:28 +00:00
0.0.9
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
@@ -35,7 +35,7 @@ function statsHandler (opts = {}) {
|
||||
|
||||
function progressHandler (stats) {
|
||||
Object.assign(lastStats, stats)
|
||||
if (!stats.complete || stats.progress < 1) {
|
||||
if (!stats.complete && stats.progress < 1) {
|
||||
if (!progressInterval) {
|
||||
progressInterval = setInterval(logProgress, 500, lastStats)
|
||||
logProgress(lastStats)
|
||||
|
||||
Reference in New Issue
Block a user