Commit 253a8cb8 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[SourcesManager] Tweak message when adding repo via URL fails

Thanks @alloy
parent e1ab2c04
......@@ -43,8 +43,8 @@ module Pod
Command::Repo::Add.new(CLAide::ARGV.new([name, url])).run
rescue Informative => e
raise Informative, "Unable to add a source with url `#{url}` " \
"named `#{name}`.\nYou can add it manually via " \
"`pod repo add NAME #{url}`."
"named `#{name}`.\nYou can try adding it manually in " \
'`~/.cocoapods/repos` or via `pod repo add`.'
ensure
UI.title_level = previous_title_level
end
......
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