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: fixed command alias bug.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2016-07-06 16:05:57 +00:00
parent 2529b3835f
commit 020bd9f487

View file

@ -583,10 +583,10 @@ while true
args = cmd args = cmd
cmd = "show" cmd = "show"
end end
if commands[cmd].is_a? String
cmd = list[cmd]
end
cmd = list[cmd] cmd = list[cmd]
if commands[cmd].is_a? String
cmd = list[commands[cmd]]
end
begin begin
if cmd if cmd
commands[cmd].call(args) commands[cmd].call(args)