aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/info.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-09-11 19:11:04 +0100
committerGitHub2016-09-11 19:11:04 +0100
commitea0405c8dd0e591ca570b834cd5f0a76e3ee1a90 (patch)
treedf89bd41d536d9f8f6a966beaf204e124e590f3d /Library/Homebrew/cmd/info.rb
parent8448fe17cba78e35a260d4c4e0189abe7ab75fcf (diff)
parent1174264d47b03bbcdb6900896b2a512c05686549 (diff)
downloadbrew-ea0405c8dd0e591ca570b834cd5f0a76e3ee1a90.tar.bz2
Merge pull request #910 from MikeMcQuaid/cmd-rubocop
Fix Library/Homebrew/cmd RuboCop warnings
Diffstat (limited to 'Library/Homebrew/cmd/info.rb')
-rw-r--r--Library/Homebrew/cmd/info.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb
index 7c483c378..0310ab624 100644
--- a/Library/Homebrew/cmd/info.rb
+++ b/Library/Homebrew/cmd/info.rb
@@ -45,7 +45,7 @@ module Homebrew
end
else
ARGV.named.each_with_index do |f, i|
- puts unless i == 0
+ puts unless i.zero?
begin
if f.include?("/") || File.exist?(f)
info_formula Formulary.factory(f)