Skip to content

Commit

Permalink
删除多余的代码
Browse files Browse the repository at this point in the history
  • Loading branch information
Muione committed Jun 23, 2024
1 parent cfca161 commit 362d21e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/offline_download/pikpak/pikpak.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@ func (p PikPak) Status(task *tool.DownloadTask) (*tool.Status, error) {
s.Err = fmt.Errorf(t.Message)
}
} else {
s.Progress = 0
s.Status = "the task has been deleted"
s.Completed = false
s.Err = fmt.Errorf("the task has been deleted")
}
}
Expand Down

0 comments on commit 362d21e

Please sign in to comment.