diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2020-01-08 16:43:54 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2020-01-08 16:43:54 +0300 |
commit | b1c0371664f6c65f7645180bfa5fbef55d58a346 (patch) | |
tree | 78c29e69b8729a7876e950ab79201d8db02c3f44 | |
parent | 5655fe49ef571a03622a609cc23c766a0577f206 (diff) | |
parent | f1f980f9fe88e3c687e7cf2afb3f5b5d3b01d521 (diff) |
Merge branch 'zj-run-fail-cmd-fix' into 'master'
Fix undefined method #fail_cmd!
See merge request gitlab-org/gitaly!1733
-rw-r--r-- | _support/run.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_support/run.rb b/_support/run.rb index a62959180..e7d29a1e8 100644 --- a/_support/run.rb +++ b/_support/run.rb @@ -15,7 +15,7 @@ end def capture!(cmd, chdir='.') GitalySupport.print_cmd(cmd) output = IO.popen(cmd, chdir: chdir) { |io| io.read } - fail_cmd!(cmd) unless $?.success? + GitalySupport.fail_cmd!(cmd) unless $?.success? output end |