* tool/redmine-backporter.rb (done): fixed a bug that cannot specify the note

without the ticket number.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2015-04-13 08:25:34 +00:00
parent 8d6fbbe862
commit cef3b0a890
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ eom
},
"done" => proc{|args|
raise CommandSyntaxError unless /\A(\d+)?(?: -- +(.*))?\z/ =~ args
raise CommandSyntaxError unless /\A(\d+)?(?:\s*-- +(.*))?\z/ =~ args
notes = $2
notes.strip! if notes
if $1