1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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

View file

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