diff options
author | Timothy Andrew <mail@timothyandrew.net> | 2016-12-09 15:52:20 +0530 |
---|---|---|
committer | Timothy Andrew <mail@timothyandrew.net> | 2016-12-16 23:32:25 +0530 |
commit | c937aec1f7ba1f102995fefaef2141e7ed90f5fd (patch) | |
tree | 203f2dcc15ae1d2ac61e34e6bf0b8553e1d05f92 /lib/api/api.rb | |
parent | a2b39feb1a3ae6fe2615418bb759bf39125e5d0e (diff) | |
download | gitlab-ce-c937aec1f7ba1f102995fefaef2141e7ed90f5fd.tar.gz |
Check the exit code while invoking git in the force push check.
Previously, we were calling out to `popen` without asserting on the returned
exit-code. Now we raise a `RuntimeError` if the exit code is non-zero.
Diffstat (limited to 'lib/api/api.rb')
0 files changed, 0 insertions, 0 deletions