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
125125
126126 defp handle_rebar_not_found ( app ) do
127127 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 } "
129129 shell . info "I can install a local copy which is just used by Mix"
130130
131131 unless shell . yes? ( "Shall I install rebar?" ) do
132132 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"
134134 end
135135
136136 ( Mix.Tasks.Local.Rebar . run ( [ ] ) && Mix.Rebar . local_rebar_cmd ) ||
@@ -158,7 +158,7 @@ defmodule Mix.Tasks.Deps.Compile do
158158 Mix.Dep . in_dependency dep , fn _ ->
159159 env = [ { "ERL_LIBS" , Path . join ( config [ :build_path ] , "lib" ) } ]
160160 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. " <>
162162 "If you want to recompile this dependency, please run: \" mix deps.compile #{ app } \" "
163163 end
164164 end
You can’t perform that action at this time.
0 commit comments