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 ...@@ -376,9 +376,9 @@ module Pod
if sources.empty? if sources.empty?
SourcesManager.all.tap do |all| SourcesManager.all.tap do |all|
UI.warn all.reduce("The use of implicit sources has been " \ UI.warn all.reduce("The use of implicit sources has been " \
"deprecated. To replicate the previous behavior, add the " \ "deprecated. To continue using all of the sources currently " \
"following to your Podfile:") \ "on your machine, add the following to the top of your " \
{ |w, s| w << "\nsource '#{s.url}'" } "Podfile:\n") { |w, s| w << "\n source '#{s.url}'" } + "\n"
end end
else else
sources.map do |url| 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