Color status.

This commit is contained in:
Markus Reiter 2024-07-14 23:15:36 -04:00
parent f41d2516ce
commit b55528b825
No known key found for this signature in database
GPG Key ID: 245293B51702655B

View File

@ -203,10 +203,10 @@ module Homebrew
promise.wait!
Whirly.configure stop: "✔︎"
Whirly.configure stop: "#{Tty.green}✔︎#{Tty.reset}"
Whirly.stop if args.concurrency
rescue ChecksumMismatchError => e
Whirly.configure stop: ""
Whirly.configure stop: "#{Tty.red}#{Tty.reset}"
Whirly.stop if args.concurrency
opoo "#{downloadable.download_type.capitalize} reports different checksum: #{e.expected}"