Skip to content

Commit

Permalink
fix(up): lint blank line
Browse files Browse the repository at this point in the history
  • Loading branch information
iyear committed Sep 10, 2023
1 parent 1cbe961 commit d633f34
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/uploader/uploader.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ func (u *Uploader) upload(ctx context.Context, to tg.InputPeerClass, item *Item)
up := uploader.NewUploader(u.opts.Client).
WithPartSize(u.opts.PartSize).WithThreads(u.opts.Threads).WithProgress(&_progress{tracker: tracker})


f, err := up.Upload(ctx, uploader.NewUpload(item.Name, item.File, item.Size))
if err != nil {
return err
Expand Down

0 comments on commit d633f34

Please sign in to comment.