Skip to content

Commit d7ff228

Browse files
author
José Valim
committed
Update docs for Mix.project/0
1 parent ec02c65 commit d7ff228

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

lib/mix/lib/mix.ex

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,12 @@ defmodule Mix do
8080
end
8181

8282
@doc """
83-
Retrieves the current project configuration. If there
84-
is not a project defined, this function will
85-
return an empty keyword list. This allows many mix
86-
tasks to work without the need for an underlying project.
83+
Retrieves the current project configuration, with the current
84+
environment configuration applied.
85+
86+
If there is no project defined, it still returns a keyword
87+
list with default values. This allows many mix tasks to work
88+
without the need for an underlying project.
8789
"""
8890
def project do
8991
Mix.Project.config

0 commit comments

Comments
 (0)