release-notes: fix style complaint.

This commit is contained in:
Mike McQuaid 2017-06-03 20:52:36 +01:00
parent 3a08f81470
commit 98959f1fb9

View File

@ -27,7 +27,7 @@ module Homebrew
.lines.grep(/Merge pull request/)
output.map! do |s|
s.gsub(/.*Merge pull request #(\d+) from ([^\/]+)\/[^>]*(>>)*/,
s.gsub(%r{.*Merge pull request #(\d+) from ([^/]+)/[^>]*(>>)*},
"https://github.com/Homebrew/brew/pull/\\1 (@\\2)")
end
if ARGV.include?("--markdown")