Skip to content

Commit

Permalink
Properly indent multi-line strings passed to say_status
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbrictson committed Jan 13, 2024
1 parent aa5d86f commit 8f45c8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ end

def say_status(label, message, color = :green)
label = label.to_s.rjust(12)
puts [colorize(label, color), message].join(" ")
puts [colorize(label, color), message.gsub(/^/, " " * 13).strip].join(" ")
end

def colorize(str, color)
Expand Down

0 comments on commit 8f45c8d

Please sign in to comment.