Skip to content

Commit

Permalink
* tool/redmine-backporter.rb: fixed command alias bug.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
unak committed Jul 6, 2016
1 parent 2529b38 commit 020bd9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tool/redmine-backporter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -583,10 +583,10 @@ class << @changesets
args = cmd
cmd = "show"
end
cmd = list[cmd]
if commands[cmd].is_a? String
cmd = list[cmd]
cmd = list[commands[cmd]]
end
cmd = list[cmd]
begin
if cmd
commands[cmd].call(args)
Expand Down

0 comments on commit 020bd9f

Please sign in to comment.