File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ defmodule Mix.Tasks.Escriptize do
130
130
131
131
defp app_tuples ( app ) do
132
132
case :code . where_is_file ( '#{ app } .app' ) do
133
- :non_existing -> raise Mix.Error , "Could not find application #{ app } "
133
+ :non_existing -> raise Mix.Error , message: "Could not find application #{ app } "
134
134
file -> get_tuples ( Path . dirname ( Path . dirname ( file ) ) )
135
135
end
136
136
end
Original file line number Diff line number Diff line change @@ -82,8 +82,8 @@ defmodule Mix.Tasks.Test do
82
82
{ opts , files } = OptionParser . parse ( args , switches: @ switches )
83
83
84
84
unless System . get_env ( "MIX_ENV" ) || Mix . env == :test do
85
- raise Mix.Error , "mix test is running on environment #{ Mix . env } . If you are " <>
86
- "running tests along another task, please set MIX_ENV explicitly"
85
+ raise Mix.Error , message: "mix test is running on environment #{ Mix . env } . If you are " <>
86
+ "running tests along another task, please set MIX_ENV explicitly"
87
87
end
88
88
89
89
Mix.Task . run "app.start" , args
You can’t perform that action at this time.
0 commit comments