-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix pod search
when the silent flag is enabled
#1627
Conversation
I think this is acceptable, but it would be nice to remove the option from the options list too. E.g. something like: def self.options
[
["--full", "Search by name, summary, and description"],
["--stats", "Show additional stats (like GitHub watchers and forks)"],
["--ios", "Restricts the search to Pods supported on iOS"],
["--osx", "Restricts the search to Pods supported on OS X"]
].concat(super.reject { |option, _| option == '--silent' })
end (In the block parameter list, the |
Looks great to me. We need to fix the validation on Travis and then we can merge this. |
Opss missed @alloy's comment which makes a lot of sense. |
@alloy I didn't even know you could do that. |
@irrationalfab and @alloy if it looks good I'll merge :) |
👍 |
Fix `pod search` when the silent flag is enabled
👍 |
Fixes #1431. Not sure if this is the best way to fix it, but I don't see why search would ever need a silent flag anyway.