diff options
author | jramsay <git@zjvandeweg.nl> | 2020-01-07 12:32:06 +0300 |
---|---|---|
committer | jramsay <git@zjvandeweg.nl> | 2020-01-07 12:32:06 +0300 |
commit | f1f980f9fe88e3c687e7cf2afb3f5b5d3b01d521 (patch) | |
tree | 26b79d278850a65fa437cc7122a0fcb381d4dc59 /_support/run.rb | |
parent | afdd436d7eddd97854489151f1bd1e287908b371 (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.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 |