Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2020-01-08 16:43:54 +0300
committerJacob Vosmaer <jacob@gitlab.com>2020-01-08 16:43:54 +0300
commitb1c0371664f6c65f7645180bfa5fbef55d58a346 (patch)
tree78c29e69b8729a7876e950ab79201d8db02c3f44
parent5655fe49ef571a03622a609cc23c766a0577f206 (diff)
parentf1f980f9fe88e3c687e7cf2afb3f5b5d3b01d521 (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.rb2
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