Commit a5e7ef39 authored by Christopher Roach's avatar Christopher Roach

Fixed a bug with the flags passed into `Dir.glob`

parent 76d22d33
......@@ -167,7 +167,7 @@ module Pod
#
def clean_paths
used = used_files
files = Dir.glob(root + "**/*", [File::FNM_DOTMATCH, File::FNM_CASEFOLD])
files = Dir.glob(root + "**/*", File::FNM_DOTMATCH | File::FNM_CASEFOLD)
files.reject! do |candidate|
candidate.end_with?('.', '..') || used.any? do |path|
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment