diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 4dfc19fe9e..7f2c7aea82 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -498,7 +498,10 @@ module Kernel end def command_help_lines(path) - path.read.lines.grep(/^#:/).map { |line| line.slice(2..-1) } + path.read + .lines + .grep(/^#:/) + .map { |line| line.slice(2..-1) } end def redact_secrets(input, secrets)