Commit 1a801e47 authored by Fabio Pelosin's avatar Fabio Pelosin

[Command::Push] Respect allow warnings option

Closes #835
parent 058b4e6c
......@@ -10,6 +10,8 @@
- Fixed and issue which prevent the inclusion of OTHER_CFLAGS and
OTHER_CPLUSPLUSFLAGS in the release builds of the Pods project.
- Fixed `pod lint --local`
- Fixed the `--allow-warnings` of `pod push`
[#835](https://github.com/CocoaPods/CocoaPods/issues/835)
###### Ancillary enhancements
......
......@@ -63,6 +63,7 @@ module Pod
UI.puts "\nValidating #{'spec'.pluralize(count)}".yellow
podspec_files.each do |podspec|
validator = Validator.new(podspec)
validator.only_errors = @allow_warnings
begin
validator.validate
rescue Exception
......
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