From ce71404395e2a70eda503da7c9068fb19e710eb5 Mon Sep 17 00:00:00 2001 From: guilherme Date: Sat, 22 Mar 2025 14:30:56 +0000 Subject: [PATCH] chore: improve Config.config_env/0 docs --- lib/elixir/lib/config.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/elixir/lib/config.ex b/lib/elixir/lib/config.ex index dc9bdea2bbd..b18fbd271c3 100644 --- a/lib/elixir/lib/config.ex +++ b/lib/elixir/lib/config.ex @@ -227,7 +227,8 @@ defmodule Config do Returns the environment this configuration file is executed on. In Mix projects this function returns the environment this configuration - file is executed on. In releases, the environment when `mix release` ran. + file is executed on. + In releases, returns the `MIX_ENV` specified when running `mix release`. This is most often used to execute conditional code: