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
130130
131131 defp app_tuples ( app ) do
132132 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 } "
134134 file -> get_tuples ( Path . dirname ( Path . dirname ( file ) ) )
135135 end
136136 end
Original file line number Diff line number Diff line change @@ -82,8 +82,8 @@ defmodule Mix.Tasks.Test do
8282 { opts , files } = OptionParser . parse ( args , switches: @ switches )
8383
8484 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"
8787 end
8888
8989 Mix.Task . run "app.start" , args
You can’t perform that action at this time.
0 commit comments