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

View File

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