diff options
author | Mark Felder <feld@FreeBSD.org> | 2020-07-12 10:59:12 -0500 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-07-12 10:59:12 -0500 |
commit | 46b123cded5f572851652cecedcce22aa87b97e7 (patch) | |
tree | 23d96295c4c467ba20a254afc7f551a7558afc70 | |
parent | 0871e8b8feb9f88a67ce12f8780691f41dae79a2 (diff) | |
download | pleroma-46b123cded5f572851652cecedcce22aa87b97e7.tar.gz |
Still allow passing the arg, but fallback to MIX_ENV
-rw-r--r-- | lib/mix/tasks/pleroma/config.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mix/tasks/pleroma/config.ex b/lib/mix/tasks/pleroma/config.ex index 343438add..38c6a6f1d 100644 --- a/lib/mix/tasks/pleroma/config.ex +++ b/lib/mix/tasks/pleroma/config.ex @@ -83,7 +83,7 @@ defmodule Mix.Tasks.Pleroma.Config do defp migrate_from_db(opts) do if Pleroma.Config.get([:configurable_from_database]) do - env = Mix.env() + env = opts[:env] || Mix.env() config_path = if Pleroma.Config.get(:release) do |