Don’t output "nothing" messages
This is how we do it in general in Homebrew.
This commit is contained in:
parent
215fcd3292
commit
1587c70357
@ -129,8 +129,6 @@ class RefreshBrew
|
|||||||
if pending_formulae_changes?
|
if pending_formulae_changes?
|
||||||
ohai "The following formulae were updated:"
|
ohai "The following formulae were updated:"
|
||||||
puts_columns updated_formulae, installed_formulae
|
puts_columns updated_formulae, installed_formulae
|
||||||
else
|
|
||||||
puts "No formulae were updated."
|
|
||||||
end
|
end
|
||||||
## New examples
|
## New examples
|
||||||
if pending_new_examples?
|
if pending_new_examples?
|
||||||
@ -146,8 +144,6 @@ class RefreshBrew
|
|||||||
if pending_examples_changes?
|
if pending_examples_changes?
|
||||||
ohai "The following external commands were updated:"
|
ohai "The following external commands were updated:"
|
||||||
puts_columns updated_examples
|
puts_columns updated_examples
|
||||||
else
|
|
||||||
puts "No external commands were updated."
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user