Commit 8cd43db4 authored by Joshua Kalpin's avatar Joshua Kalpin

Fix `pod search` when the silent flag is enabled

parent 14621c77
...@@ -26,6 +26,7 @@ module Pod ...@@ -26,6 +26,7 @@ module Pod
@supported_on_ios = argv.flag?('ios') @supported_on_ios = argv.flag?('ios')
@supported_on_osx = argv.flag?('osx') @supported_on_osx = argv.flag?('osx')
@query = argv.shift_argument @query = argv.shift_argument
config.silent = false
super super
end end
......
...@@ -45,5 +45,10 @@ module Pod ...@@ -45,5 +45,10 @@ module Pod
output = run_command('search', 'BananaLib', '--osx') output = run_command('search', 'BananaLib', '--osx')
output.should.not.include? 'BananaLib' output.should.not.include? 'BananaLib'
end end
it "gives output when the silent config is true" do
output = run_command('search', 'BananaLib', '--silent')
output.should.include? 'BananaLib'
end
end end
end end
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