Skip to content

Commit

Permalink
Match unused returns to _
Browse files Browse the repository at this point in the history
  • Loading branch information
jzimbel-mbta authored Aug 5, 2024
1 parent d5a72e5 commit 7363a6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/transit_data/glides_report/loader.ex
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ defmodule TransitData.GlidesReport.Loader do

if Enum.any?(Task.yield_many(deletion_tasks, timeout: 1), &is_nil/1) do
IO.puts("Waiting for previous table(s) to finish deleting...")
Task.await_many(Enum.reject(deletion_tasks, &is_nil/1), :infinity)
_ = Task.await_many(Enum.reject(deletion_tasks, &is_nil/1), :infinity)
IO.puts("Done.")
end

Expand Down Expand Up @@ -416,7 +416,7 @@ defmodule TransitData.GlidesReport.Loader do
Task.async(fn -> :ets.delete(:"#{table}_OLD") end)
end

:ets.new(table, [
_ = :ets.new(table, [
:named_table,
:public,
write_concurrency: :auto
Expand Down

0 comments on commit 7363a6d

Please sign in to comment.