Skip to content

Commit 8effd0d

Browse files
committed
FIx tests
1 parent 708f281 commit 8effd0d

File tree

2 files changed

+572
-572
lines changed

2 files changed

+572
-572
lines changed

services/app/apps/codebattle/lib/codebattle/tournament/task_provider.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ defmodule Codebattle.Tournament.TaskProvider do
7373
Tasks.get_task(tournament, task_id)
7474
end
7575

76-
defp safe_random(nil), do: nil
7776
defp safe_random([]), do: nil
7877
defp safe_random(list), do: Enum.random(list)
7978
end

0 commit comments

Comments
 (0)