Merge pull request #1901 from alyssais/patch-1
man: remove an unnecessary `else`
This commit is contained in:
commit
9293ca2cef
@ -23,10 +23,10 @@ module Homebrew
|
|||||||
|
|
||||||
if ARGV.flag? "--link"
|
if ARGV.flag? "--link"
|
||||||
odie "`brew man --link` is now done automatically by `brew update`."
|
odie "`brew man --link` is now done automatically by `brew update`."
|
||||||
else
|
|
||||||
regenerate_man_pages
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
regenerate_man_pages
|
||||||
|
|
||||||
if system "git", "-C", HOMEBREW_REPOSITORY, "diff", "--quiet", "docs/brew.1.html", "manpages"
|
if system "git", "-C", HOMEBREW_REPOSITORY, "diff", "--quiet", "docs/brew.1.html", "manpages"
|
||||||
puts "No changes to manpage output detected."
|
puts "No changes to manpage output detected."
|
||||||
elsif ARGV.include?("--fail-if-changed")
|
elsif ARGV.include?("--fail-if-changed")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user