Hm, shouldn't need that call to 'rescue' in Site#whitelist
This commit is contained in:
parent
5c9f9a4de8
commit
249b13a98a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue