mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 09:18:11 -05:00
Hm, shouldn't need that call to 'rescue' in Site#whitelist
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user