Defaults: compare paths in applies_path? as Strings to avoid confusion

/cc #4064
This commit is contained in:
Parker Moore 2015-10-26 17:28:20 -07:00
parent 45f69bb8cd
commit 7b81f00137
1 changed files with 1 additions and 1 deletions

View File

@ -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