utils: tweak formatting.

This commit is contained in:
Mike McQuaid 2020-02-01 19:03:07 +01:00
parent e9274b3827
commit 0fac6e262e
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -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)