Fixed developer push to protected branch. Closes #2647
This commit is contained in:
parent
af7dcda1cb
commit
5c3fdfaacb
|
@ -81,7 +81,7 @@ module Grack
|
|||
end
|
||||
# Need to reset seek point
|
||||
@request.body.rewind
|
||||
/refs\/heads\/([\w\.-]+)/.match(input).to_a.first
|
||||
/refs\/heads\/([\w\.-]+)/.match(input).to_a.last
|
||||
end
|
||||
|
||||
def project
|
||||
|
|
Loading…
Reference in a new issue