Skip to content

Commit

Permalink
[#132, #183] Fix to make repo update tolerant of stray files ~./cocoa…
Browse files Browse the repository at this point in the history
…pods
  • Loading branch information
fabiopelosin committed Mar 20, 2012
1 parent c3bb9a1 commit 194de44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cocoapods/command/repo.rb
Expand Up @@ -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") }
Expand Down

2 comments on commit 194de44

@alloy
Copy link
Member

@alloy alloy commented on 194de44 Mar 20, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks :) Can you close the tickets?

@fabiopelosin
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure!

Please sign in to comment.