Skip to content

Commit 0fed300

Browse files
authored
chore: improve Config.config_env/0 docs (#14353)
1 parent 36d6c1c commit 0fed300

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/elixir/lib/config.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,8 @@ defmodule Config do
227227
Returns the environment this configuration file is executed on.
228228
229229
In Mix projects this function returns the environment this configuration
230-
file is executed on. In releases, the environment when `mix release` ran.
230+
file is executed on.
231+
In releases, returns the `MIX_ENV` specified when running `mix release`.
231232
232233
This is most often used to execute conditional code:
233234

0 commit comments

Comments
 (0)