Hm, shouldn't need that call to 'rescue' in Site#whitelist

This commit is contained in:
Parker Moore 2013-12-06 00:24:59 -05:00
parent 5c9f9a4de8
commit 249b13a98a
1 changed files with 1 additions and 5 deletions

View File

@ -105,11 +105,7 @@ module Jekyll
end end
def whitelist def whitelist
@whitelist ||= begin @whitelist ||= Array[self.config['whitelist']].flatten || []
Array[self.config['whitelist']].flatten || []
rescue
[]
end
end end
# Internal: Setup the plugin search path # Internal: Setup the plugin search path