aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/debrew.rb
diff options
context:
space:
mode:
authorilovezfs2017-06-01 04:06:40 -0700
committerGitHub2017-06-01 04:06:40 -0700
commit197392b56d38a4f5225886f1a10e2ccaa51faa98 (patch)
tree14bf38f815db5fc30c3d1e26dfb0a18d4e536540 /Library/Homebrew/debrew.rb
parent63b2eb9ffd1a0131194e99c65e3f0e1e1980ed9b (diff)
downloadbrew-197392b56d38a4f5225886f1a10e2ccaa51faa98.tar.bz2
Revert "Fix operator spacing."
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 7ff2c0360..668a0b4d2 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) }