aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/debrew.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/debrew.rb')
-rw-r--r--Library/Homebrew/debrew.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/debrew.rb b/Library/Homebrew/debrew.rb
index 668a0b4d2..7ff2c0360 100644
--- a/Library/Homebrew/debrew.rb
+++ b/Library/Homebrew/debrew.rb
@@ -50,7 +50,7 @@ module Debrew
choice = nil
while choice.nil?
- menu.entries.each_with_index { |e, i| puts "#{i+1}. #{e.name}" }
+ menu.entries.each_with_index { |e, i| puts "#{i + 1}. #{e.name}" }
print menu.prompt unless menu.prompt.nil?
input = $stdin.gets || exit
@@ -58,7 +58,7 @@ module Debrew
i = input.to_i
if i > 0
- choice = menu.entries[i-1]
+ choice = menu.entries[i - 1]
else
possible = menu.entries.find_all { |e| e.name.start_with?(input) }