Skip to content

Commit d313db7

Browse files
committed
fix code
1 parent 3a0d073 commit d313db7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const Progress = {
5353
else return Progress.option.$.loading._index = 0, Progress.lines = strs.map((line, index) => { const match = /(?<space>^\s*)(?<str>.*)/gm.exec(line); return match !== null ? { ...match.groups, index } : match }).filter(line => line !== null), Progress.timer = setInterval(_ => Progress.finish ? Progress.stop() : Progress.print(Progress.clean + Progress.percent.appendTo(Progress.lines) + Progress.option.dot + ' ' + Progress.option.loading + ' '), 85), Progress
5454
},
5555
total (total) {
56-
return Progress.percent.total = total, Progress.percent.index = 0
56+
return Progress.percent.total = total, Progress.percent.index = 0, Progress
5757
},
5858
stop () {
5959
if (Progress.timer === null) return Progress

0 commit comments

Comments
 (0)