Skip to content

Commit

Permalink
Do not require mix project in profile.fprof
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmj committed May 30, 2016
1 parent d42fbd0 commit b20dcd9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/mix/lib/mix/tasks/profile.fprof.ex
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ defmodule Mix.Tasks.Profile.Fprof do

# Start app after rewriting System.argv,
# but before requiring and evaling
Mix.Task.run "app.start", args
unless "--no-start" in args do
Mix.Task.run "app.start", args
end
process_load opts

_ = if file do
Expand Down

0 comments on commit b20dcd9

Please sign in to comment.