Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[#132, #183] Fix to make repo update tolerant of stray files ~./cocoa…

…pods
  • Loading branch information...
commit 194de4488839271ddc8addaf8993800b81594c11 1 parent c3bb9a1
@fabiopelosin fabiopelosin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/cocoapods/command/repo.rb
View
2  lib/cocoapods/command/repo.rb
@@ -52,7 +52,7 @@ def add
end
def update
- dirs = @name ? [dir] : config.repos_dir.children
+ dirs = @name ? [dir] : config.repos_dir.children.select {|c| c.directory?}
dirs.each do |dir|
puts "Updating spec repo `#{dir.basename}'" unless config.silent?
Dir.chdir(dir) { git("pull") }

2 comments on commit 194de44

@alloy
Owner

Thanks :) Can you close the tickets?

@fabiopelosin

Sure!

Please sign in to comment.
Something went wrong with that request. Please try again.