diff options
| author | Xu Cheng | 2016-04-19 15:06:06 +0800 |
|---|---|---|
| committer | Xu Cheng | 2016-04-19 15:08:34 +0800 |
| commit | 2caf7b76bb3e09ffabf8c56d3934ba8190673fdc (patch) | |
| tree | 36c6511f7b19aee69382161dbceb078ce8302cd0 /Library | |
| parent | 5d1e6481940554def0e436123bcf7e1fc5519002 (diff) | |
| download | brew-2caf7b76bb3e09ffabf8c56d3934ba8190673fdc.tar.bz2 | |
man: fix Ruby syntax warning
Library/Homebrew/cmd/man.rb:44: warning: assigned but unused variable - commands
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/man.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/man.rb b/Library/Homebrew/cmd/man.rb index 164eca9b1..fd959cd53 100644 --- a/Library/Homebrew/cmd/man.rb +++ b/Library/Homebrew/cmd/man.rb @@ -41,7 +41,7 @@ module Homebrew def build_man_page template = (SOURCE_PATH/"brew.1.md.erb").read - commands = Pathname.glob("#{HOMEBREW_LIBRARY_PATH}/cmd/*.{rb,sh}"). + Pathname.glob("#{HOMEBREW_LIBRARY_PATH}/cmd/*.{rb,sh}"). sort_by { |source_file| source_file.basename.sub(/\.(rb|sh)$/, "") }. map { |source_file| source_file.read.lines. |
