Commit aad38343 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[Analyzer] Clarify the deprecation message of implicit sources

Thanks @alloy
parent 185624b8
......@@ -376,9 +376,9 @@ module Pod
if sources.empty?
SourcesManager.all.tap do |all|
UI.warn all.reduce("The use of implicit sources has been " \
"deprecated. To replicate the previous behavior, add the " \
"following to your Podfile:") \
{ |w, s| w << "\nsource '#{s.url}'" }
"deprecated. To continue using all of the sources currently " \
"on your machine, add the following to the top of your " \
"Podfile:\n") { |w, s| w << "\n source '#{s.url}'" } + "\n"
end
else
sources.map do |url|
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment