diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2017-09-25 00:30:53 +0200 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2017-09-25 00:34:12 +0200 |
commit | c505a5234745f4a879ad336a0de92586c9bc9162 (patch) | |
tree | 92ac3dfdcc81bce639bfc297adab13048bcf613f /lib | |
parent | e2b195b2748c88e276163d44cdeff5b210f2522c (diff) | |
download | gitlab-ce-c505a5234745f4a879ad336a0de92586c9bc9162.tar.gz |
Fixed few gitlab:check tasks that were failing with exception38280-undefined-run_command-when-running-rake-gitlab-check
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system_check/app/git_version_check.rb | 2 | ||||
-rw-r--r-- | lib/system_check/app/ruby_version_check.rb | 2 |
2 files changed, 2 insertions, 2 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? diff --git a/lib/system_check/app/ruby_version_check.rb b/lib/system_check/app/ruby_version_check.rb index fd82f5f8a4a..08a2c495bd4 100644 --- a/lib/system_check/app/ruby_version_check.rb +++ b/lib/system_check/app/ruby_version_check.rb @@ -9,7 +9,7 @@ module SystemCheck end def self.current_version - @current_version ||= Gitlab::VersionInfo.parse(run_command(%w(ruby --version))) + @current_version ||= Gitlab::VersionInfo.parse(Gitlab::TaskHelpers.run_command(%w(ruby --version))) end def check? |