Merge pull request #22 from mplewis/master

Fix regex escaping causing sync issues on paths with special characters
This commit is contained in:
Mark Larsen
2014-06-12 20:48:49 -04:00

View File

@@ -87,7 +87,7 @@ module Synx
end
def pathname_is_inside_root_pathname?(grandchild_pathname)
grandchild_pathname.realpath.to_s =~ /^#{root_pathname.realpath.to_s}/
grandchild_pathname.realpath.to_s.start_with?(root_pathname.realpath.to_s)
end
def group_exclusions=(new_exclusions)