Browse files

[Push] Fix for changes `pod spec lint`.

  • Loading branch information...
1 parent 2c617aa commit 2368500065e830e30c88cd377088f83c880a98ba @fabiopelosin fabiopelosin committed Jul 2, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/cocoapods/command/push.rb
View
1 lib/cocoapods/command/push.rb
@@ -71,6 +71,7 @@ def validate_podspec_files
lint_argv = ["lint"]
lint_argv << "--only-errors" if @allow_warnings
lint_argv << "--silent" if config.silent
+ lint_argv += podspec_files.map(&:to_s)
all_valid = Spec.new(ARGV.new(lint_argv)).run
end

0 comments on commit 2368500

Please sign in to comment.