diff options
author | Igor <idrozdov@gitlab.com> | 2019-10-23 08:19:23 +0000 |
---|---|---|
committer | Igor <idrozdov@gitlab.com> | 2019-10-23 08:19:23 +0000 |
commit | 7d36bc3bba67d42f7d23bd16624ef5e6aab2bddc (patch) | |
tree | b768c10328ca69591ca1613e18a38131b950ae08 /cmd/gitlab-shell-authorized-principals-check/main.go | |
parent | 629e3bf9c31687f7b824cf29ba07ad2ce402e280 (diff) | |
parent | aa82832f7ba0a6ca7017f019be17810579f9a688 (diff) | |
download | gitlab-shell-7d36bc3bba67d42f7d23bd16624ef5e6aab2bddc.tar.gz |
Merge branch 'ashmckenzie/make-console-messages-consistent' into 'master'
Make console messages consistent
See merge request gitlab-org/gitlab-shell!334
Diffstat (limited to 'cmd/gitlab-shell-authorized-principals-check/main.go')
-rw-r--r-- | cmd/gitlab-shell-authorized-principals-check/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/gitlab-shell-authorized-principals-check/main.go b/cmd/gitlab-shell-authorized-principals-check/main.go index 645ccf0..328e11f 100644 --- a/cmd/gitlab-shell-authorized-principals-check/main.go +++ b/cmd/gitlab-shell-authorized-principals-check/main.go @@ -7,6 +7,7 @@ import ( "gitlab.com/gitlab-org/gitlab-shell/internal/command" "gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter" "gitlab.com/gitlab-org/gitlab-shell/internal/config" + "gitlab.com/gitlab-org/gitlab-shell/internal/console" "gitlab.com/gitlab-org/gitlab-shell/internal/executable" ) @@ -38,7 +39,7 @@ func main() { } if err = cmd.Execute(); err != nil { - fmt.Fprintf(readWriter.ErrOut, "%v\n", err) + console.DisplayWarningMessage(err.Error(), readWriter.ErrOut) os.Exit(1) } } |