Verified Commit 6ca633dd authored by Haelwenn's avatar Haelwenn

Mix.Tasks.Pleroma.Uploads: Disable Enum.reduce warning on line 100 (unsure)

parent d924dc73
Pipeline #7326 passed with stages
in 3 minutes and 23 seconds
......@@ -97,6 +97,7 @@ defmodule Mix.Tasks.Pleroma.Uploads do
timeout: 150_000
)
|> Stream.chunk_every(@log_every)
# credo:disable-for-next-line Credo.Check.Warning.UnusedEnumOperation
|> Enum.reduce(0, fn done, count ->
count = count + length(done)
Mix.shell().info("Uploaded #{count}/#{total_count} files")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment