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