Fix double ref_type in push event when removing branch or tag

This commit is contained in:
Riyad Preukschas 2012-09-30 00:53:04 +02:00
parent 3bcc39b4d3
commit c2303737ba

View file

@ -70,7 +70,7 @@ module PushEvent
if new_ref? if new_ref?
"pushed new" "pushed new"
elsif rm_ref? elsif rm_ref?
"removed #{ref_type}" "removed"
else else
"pushed to" "pushed to"
end end