utils: tweak formatting.
This commit is contained in:
parent
e9274b3827
commit
0fac6e262e
@ -498,7 +498,10 @@ module Kernel
|
|||||||
end
|
end
|
||||||
|
|
||||||
def command_help_lines(path)
|
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
|
end
|
||||||
|
|
||||||
def redact_secrets(input, secrets)
|
def redact_secrets(input, secrets)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user