We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45a577c commit 4171e47Copy full SHA for 4171e47
lib/mix/lib/mix/tasks/help.ex
@@ -113,16 +113,18 @@ defmodule Mix.Tasks.Help do
113
def run(["app:" <> app]) do
114
loadpaths!()
115
116
- if Mix.Project.get() do
117
- Mix.Task.run("compile")
118
- end
119
-
120
app = String.to_atom(app)
121
122
# If the application is not available, attempt to load it from Erlang/Elixir
123
if is_nil(Application.spec(app, :vsn)) do
124
125
+ try do
+ Mix.ensure_application!(app)
+ rescue
+ _ ->
+ if Mix.Project.get() do
+ Mix.Task.run("compile")
126
+ end
127
128
end
129
130
0 commit comments