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:
parent
2529b3835f
commit
020bd9f487
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue