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

[Cache] Use string interpolation for exception message

parent e4fde70c
...@@ -81,9 +81,9 @@ module Pod ...@@ -81,9 +81,9 @@ module Pod
downloader = Downloader.for_target(target, params) downloader = Downloader.for_target(target, params)
if head if head
unless downloader.head_supported? unless downloader.head_supported?
raise Informative, "The pod '" + name + "' does not " \ raise Informative, "The pod '#{name}' does not " \
'support the :head option, as it uses a ' + downloader.name + "support the :head option, as it uses a #{downloader.name} " \
' source. Remove that option to use this pod.' 'source. Remove that option to use this pod.'
end end
downloader.download_head downloader.download_head
else else
......
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