Still allow passing the arg, but fallback to MIX_ENV
This commit is contained in:
parent
0871e8b8fe
commit
46b123cded
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ defmodule Mix.Tasks.Pleroma.Config do
|
||||||
|
|
||||||
defp migrate_from_db(opts) do
|
defp migrate_from_db(opts) do
|
||||||
if Pleroma.Config.get([:configurable_from_database]) do
|
if Pleroma.Config.get([:configurable_from_database]) do
|
||||||
env = Mix.env()
|
env = opts[:env] || Mix.env()
|
||||||
|
|
||||||
config_path =
|
config_path =
|
||||||
if Pleroma.Config.get(:release) do
|
if Pleroma.Config.get(:release) do
|
||||||
|
|
Loading…
Reference in a new issue