diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2017-09-25 01:30:53 +0300 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2017-09-25 01:34:12 +0300 |
commit | c505a5234745f4a879ad336a0de92586c9bc9162 (patch) | |
tree | 92ac3dfdcc81bce639bfc297adab13048bcf613f /lib/system_check/app/git_version_check.rb | |
parent | e2b195b2748c88e276163d44cdeff5b210f2522c (diff) |
Fixed few gitlab:check tasks that were failing with exception
Diffstat (limited to 'lib/system_check/app/git_version_check.rb')
-rw-r--r-- | lib/system_check/app/git_version_check.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system_check/app/git_version_check.rb b/lib/system_check/app/git_version_check.rb index c388682dfb4..6ee8c8874ec 100644 --- a/lib/system_check/app/git_version_check.rb +++ b/lib/system_check/app/git_version_check.rb @@ -9,7 +9,7 @@ module SystemCheck end def self.current_version - @current_version ||= Gitlab::VersionInfo.parse(run_command(%W(#{Gitlab.config.git.bin_path} --version))) + @current_version ||= Gitlab::VersionInfo.parse(Gitlab::TaskHelpers.run_command(%W(#{Gitlab.config.git.bin_path} --version))) end def check? |