projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0871e8b
)
Still allow passing the arg, but fallback to MIX_ENV
author
Mark Felder
<feld@FreeBSD.org>
Sun, 12 Jul 2020 15:59:12 +0000
(10:59 -0500)
committer
Mark Felder
<feld@FreeBSD.org>
Sun, 12 Jul 2020 15:59:12 +0000
(10:59 -0500)
lib/mix/tasks/pleroma/config.ex
patch
|
blob
|
history
diff --git
a/lib/mix/tasks/pleroma/config.ex
b/lib/mix/tasks/pleroma/config.ex
index 343438addc6ccdfb3e186e01ee4670f4ecba336f..38c6a6f1ddc88af1ecc0ac6c4194e87886acba12 100644
(file)
--- 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