mirror of
https://github.com/iyear/tdl
synced 2025-01-08 11:57:55 +08:00
fix(up): lint
This commit is contained in:
parent
22830c8d4e
commit
d6159dfbb6
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user