Defaults: compare paths in applies_path? as Strings to avoid confusion
/cc #4064
This commit is contained in:
parent
45f69bb8cd
commit
7b81f00137
|
@ -87,7 +87,7 @@ module Jekyll
|
|||
|
||||
scope_path = Pathname.new(scope['path'])
|
||||
Pathname.new(sanitize_path(path)).ascend do |path|
|
||||
if path == scope_path
|
||||
if path.to_s == scope_path.to_s
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue