diff options
author | Maxim Rydkin <maks.rydkin@gmail.com> | 2017-08-24 19:58:09 +0300 |
---|---|---|
committer | Maxim Rydkin <maks.rydkin@gmail.com> | 2017-08-29 11:14:41 +0300 |
commit | 6a56bec735c7434c85e3b8776b8413d3bdcb93ec (patch) | |
tree | 8a8152101a267bc500cec84c6343546fe7143ab5 /lib/system_check | |
parent | 48389b4e5ec251441d1b1e135fdb28fe742289d8 (diff) | |
download | gitlab-ce-6a56bec735c7434c85e3b8776b8413d3bdcb93ec.tar.gz |
replace `is_gitlab_user?` with `gitlab_user?`
Diffstat (limited to 'lib/system_check')
-rw-r--r-- | lib/system_check/app/git_config_check.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system_check/app/git_config_check.rb b/lib/system_check/app/git_config_check.rb index 198867f7ac6..d08a81639e3 100644 --- a/lib/system_check/app/git_config_check.rb +++ b/lib/system_check/app/git_config_check.rb @@ -20,7 +20,7 @@ module SystemCheck # Returns true if all subcommands were successful (according to their exit code) # Returns false if any or all subcommands failed. def repair! - return false unless is_gitlab_user? + return false unless gitlab_user? command_success = OPTIONS.map do |name, value| system(*%W(#{Gitlab.config.git.bin_path} config --global #{name} #{value})) |