File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -125,12 +125,12 @@ defmodule Mix.Tasks.Deps.Compile do
125
125
126
126
defp handle_rebar_not_found ( app ) do
127
127
shell = Mix . shell
128
- shell . info "Could not find \" rebar\" , which is needed to build dependency #{ inspect String . to_atom ( app ) } "
128
+ shell . info "Could not find \" rebar\" , which is needed to build dependency #{ inspect app } "
129
129
shell . info "I can install a local copy which is just used by Mix"
130
130
131
131
unless shell . yes? ( "Shall I install rebar?" ) do
132
132
Mix . raise "Could not find \" rebar\" to compile " <>
133
- "dependency #{ inspect String . to_atom ( app ) } , please ensure \" rebar\" is available"
133
+ "dependency #{ inspect app } , please ensure \" rebar\" is available"
134
134
end
135
135
136
136
( Mix.Tasks.Local.Rebar . run ( [ ] ) && Mix.Rebar . local_rebar_cmd ) ||
@@ -158,7 +158,7 @@ defmodule Mix.Tasks.Deps.Compile do
158
158
Mix.Dep . in_dependency dep , fn _ ->
159
159
env = [ { "ERL_LIBS" , Path . join ( config [ :build_path ] , "lib" ) } ]
160
160
if Mix . shell . cmd ( "#{ command } #{ extra } " , print_app: print_app? , env: env ) != 0 do
161
- Mix . raise "Could not compile dependency #{ inspect String . to_atom ( app ) } , \" #{ command } \" command failed. " <>
161
+ Mix . raise "Could not compile dependency #{ inspect app } , \" #{ command } \" command failed. " <>
162
162
"If you want to recompile this dependency, please run: \" mix deps.compile #{ app } \" "
163
163
end
164
164
end
You can’t perform that action at this time.
0 commit comments