fix(up): lint

This commit is contained in:
iyear 2023-11-26 12:20:20 +08:00
parent 22830c8d4e
commit d6159dfbb6

View File

@ -51,7 +51,7 @@ func (p *progress) OnDone(elem *uploader.Elem, err error) {
return
}
t:= tracker.(*pw.Tracker)
t := tracker.(*pw.Tracker)
if err != nil {
p.pw.Log(color.RedString("%s error: %s", p.elemString(elem), err.Error()))
t.MarkAsErrored()