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:
parent
8d6fbbe862
commit
cef3b0a890
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue