Fix fmt error.

This commit is contained in:
Parker Moore 2016-11-10 15:57:45 -08:00
parent d50ef0e3dd
commit ff012e795a
No known key found for this signature in database
GPG Key ID: 193CDEBA72063C58
2 changed files with 3 additions and 2 deletions

View File

@ -105,7 +105,8 @@ module Jekyll
winner = pool.find { |key| @placeholders.key?(key) } winner = pool.find { |key| @placeholders.key?(key) }
if winner.nil? if winner.nil?
raise NoMethodError, raise NoMethodError,
"The URL template doesn't have #{pool.join(" or ")} keys. Check your permalink template!" "The URL template doesn't have #{pool.join(" or ")} keys. "\
"Check your permalink template!"
end end
value = @placeholders[winner] value = @placeholders[winner]