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:
authorjramsay <git@zjvandeweg.nl>2020-01-07 12:32:06 +0300
committerjramsay <git@zjvandeweg.nl>2020-01-07 12:32:06 +0300
commitf1f980f9fe88e3c687e7cf2afb3f5b5d3b01d521 (patch)
tree26b79d278850a65fa437cc7122a0fcb381d4dc59 /_support/run.rb
parentafdd436d7eddd97854489151f1bd1e287908b371 (diff)
Fix undefined method #fail_cmd!
A method was moved inside a class, but a call site still used the old way of calling it. This change prefixes the method call so it works again.
Diffstat (limited to '_support/run.rb')
-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