Permalink
Browse files

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

  • Loading branch information...
1 parent 76d22d3 commit a5e7ef395ba6d7ba1ab619e58ff3f0ebbe7c70ae @croach committed Oct 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cocoapods/local_pod.rb
View
2 lib/cocoapods/local_pod.rb
@@ -167,7 +167,7 @@ def clean!
#
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|

0 comments on commit a5e7ef3

Please sign in to comment.