Skip to content
Snippets Groups Projects
Commit 4b5aac07 authored by ilovezfs's avatar ilovezfs Committed by GitHub
Browse files

Merge pull request #1210 from reitermarkus/fix-tty-gray

Fix `Tty.gray`.
parents 8b06a01e 6201f017
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ module Homebrew
if ARGV.verbose?
print_filename.call(string, file) unless linked_libraries.empty?
linked_libraries.each do |lib|
puts " #{Tty.gray}-->#{Tty.reset} links to #{lib}"
puts " #{Tty.bold}-->#{Tty.reset} links to #{lib}"
end
end
......@@ -93,7 +93,7 @@ module Homebrew
next unless ARGV.verbose? && !text_matches.empty?
print_filename.call(string, file)
text_matches.first(MAXIMUM_STRING_MATCHES).each do |match, offset|
puts " #{Tty.gray}-->#{Tty.reset} match '#{match}' at offset #{Tty.bold}0x#{offset}#{Tty.reset}"
puts " #{Tty.bold}-->#{Tty.reset} match '#{match}' at offset #{Tty.bold}0x#{offset}#{Tty.reset}"
end
if text_matches.size > MAXIMUM_STRING_MATCHES
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment