Closed wesleimp closed 1 year ago
Code action for change this
Enum.take(list, 5) |> Enum.shuffle() |> pick_winner()
to this
list |> Enum.take(5) |> Enum.shuffle() |> pick_winner()
reference: https://hexdocs.pm/credo/Credo.Check.Refactor.PipeChainStart.html#module-explanation
Code action for change this
to this
reference: https://hexdocs.pm/credo/Credo.Check.Refactor.PipeChainStart.html#module-explanation