summaryrefslogtreecommitdiff
path: root/config/releases.exs
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-01-21 17:49:22 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-01-21 18:42:00 +0300
commitf01ab6cd29aaae39fef6a95ec8490223fb692499 (patch)
treef398cb1acaba3289e6d555c53b14a4a1407ffc6a /config/releases.exs
parent503d966e9f7d4c41a1bfbd215b375443a858564a (diff)
downloadpleroma-f01ab6cd29aaae39fef6a95ec8490223fb692499.tar.gz
pleroma-f01ab6cd29aaae39fef6a95ec8490223fb692499.zip
some refactor and tests
Diffstat (limited to 'config/releases.exs')
-rw-r--r--config/releases.exs5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/releases.exs b/config/releases.exs
index 79651a342..19636765f 100644
--- a/config/releases.exs
+++ b/config/releases.exs
@@ -21,7 +21,10 @@ else
IO.puts(warning)
end
-exported_config = Path.join([Path.dirname(config_path), "prod.exported_from_db.secret.exs"])
+exported_config =
+ config_path
+ |> Path.dirname()
+ |> Path.join("prod.exported_from_db.secret.exs")
if File.exists?(exported_config) do
import_config exported_config