X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=config%2Freleases.exs;h=19636765f51b6381ff6e18581c50fbd204624c29;hb=677abbf0ee8d44f88e40f21526c401eb4ed8cc05;hp=79651a3429a08349d9de60fb6952a894c4445577;hpb=efb8ef5abee1a8defa2bfba40ad1065db4c09ddf;p=akkoma 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