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
|
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
|
||||||
|
|
Loading…
Reference in New Issue