Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/elixir/lib/config.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
Loading