diff options
author | Ash McKenzie <amckenzie@gitlab.com> | 2019-04-02 17:11:15 +1100 |
---|---|---|
committer | Ash McKenzie <amckenzie@gitlab.com> | 2019-04-04 13:32:30 +1100 |
commit | 5cd13175c94912651202a61ab755cfead33a3ee9 (patch) | |
tree | b69113a89dc6f80cafaca5dfaa0dc9c63873bb2f /lib/gitlab_shell.rb | |
parent | 02088137c28f7b822a7d979f985ca38f3e0583ef (diff) | |
download | gitlab-shell-5cd13175c94912651202a61ab755cfead33a3ee9.tar.gz |
Print console messages to $stderr if present9217-warn-on-git-fetch-over-ssh-if-the-secondary-is-lagging-the-primary
Using ConsoleHelper::write_stderr
Diffstat (limited to 'lib/gitlab_shell.rb')
-rw-r--r-- | lib/gitlab_shell.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb index c615805..303f4d5 100644 --- a/lib/gitlab_shell.rb +++ b/lib/gitlab_shell.rb @@ -66,6 +66,8 @@ class GitlabShell # rubocop:disable Metrics/ClassLength @username = access_status.gl_username @git_config_options = access_status.git_config_options @gl_id = access_status.gl_id if defined?(@who) + + write_stderr(access_status.gl_console_messages) elsif !defined?(@gl_id) # We're processing an API command like 2fa_recovery_codes, but # don't have a @gl_id yet, that means we're in the "username" |