diff options
| author | Zhiming Wang | 2017-10-31 14:16:09 -0400 | 
|---|---|---|
| committer | Zhiming Wang | 2017-11-03 10:02:26 -0400 | 
| commit | 04367c4dafdf85a47a7f9f5e8444b1ad1a5cd5af (patch) | |
| tree | ed25dbd99a8fe4b87c4df4e22d4395ca530d27a1 /Library | |
| parent | 302bc8be22c9f645a110815f52f252a78c666d0f (diff) | |
| download | brew-04367c4dafdf85a47a7f9f5e8444b1ad1a5cd5af.tar.bz2 | |
bump-formula-pr: --message: add newlines before and after hr
Without an empty line before the horizontal rule (---), "Created with `brew
bump-formula-pr`." is treated as a setext header.
The newline before the hr is not part of the heredoc because putting it in
would trip up Rubocop.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/dev-cmd/bump-formula-pr.rb | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/Library/Homebrew/dev-cmd/bump-formula-pr.rb b/Library/Homebrew/dev-cmd/bump-formula-pr.rb index 9fe70da6b..ab62262f3 100644 --- a/Library/Homebrew/dev-cmd/bump-formula-pr.rb +++ b/Library/Homebrew/dev-cmd/bump-formula-pr.rb @@ -335,8 +335,9 @@ module Homebrew          EOS          user_message = ARGV.value("message")          if user_message -          pr_message += <<~EOS +          pr_message += "\n" + <<~EOS              --- +              #{user_message}            EOS          end | 
