Mix.Tasks.Pleroma.Uploads: Disable Enum.reduce warning on line 100 (unsure)
This commit is contained in:
parent
d924dc73ba
commit
6ca633ddd3
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ defmodule Mix.Tasks.Pleroma.Uploads do
|
||||||
timeout: 150_000
|
timeout: 150_000
|
||||||
)
|
)
|
||||||
|> Stream.chunk_every(@log_every)
|
|> Stream.chunk_every(@log_every)
|
||||||
|
# credo:disable-for-next-line Credo.Check.Warning.UnusedEnumOperation
|
||||||
|> Enum.reduce(0, fn done, count ->
|
|> Enum.reduce(0, fn done, count ->
|
||||||
count = count + length(done)
|
count = count + length(done)
|
||||||
Mix.shell().info("Uploaded #{count}/#{total_count} files")
|
Mix.shell().info("Uploaded #{count}/#{total_count} files")
|
||||||
|
|
Loading…
Reference in a new issue