Commit 6e223dbf authored by Mikko Ahlroth's avatar Mikko Ahlroth

DRY in migrator script

parent dd401843
Pipeline #39481441 failed with stage
in 6 minutes and 20 seconds
......@@ -76,7 +76,7 @@ defmodule CodeStats.ReleaseMigrator do
case Application.load(me) do
:ok -> :ok
{:error, {:already_loaded, :code_stats}} -> :ok
{:error, {:already_loaded, ^me}} -> :ok
err -> raise "Unknown state for application load: #{inspect(err)}"
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