Skip to content

Commit 45a577c

Browse files
committed
up
1 parent ac65dfe commit 45a577c

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

lib/mix/lib/mix/tasks/help.ex

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,8 @@ defmodule Mix.Tasks.Help do
121121

122122
# If the application is not available, attempt to load it from Erlang/Elixir
123123
if is_nil(Application.spec(app, :vsn)) do
124-
try do
125-
Mix.ensure_application!(app)
126-
rescue
127-
_ ->
128-
if Mix.Project.get() do
129-
Mix.Task.run("compile")
130-
end
124+
if Mix.Project.get() do
125+
Mix.Task.run("compile")
131126
end
132127
end
133128

0 commit comments

Comments
 (0)