Skip to content

`glab auth status` misses a trailing newline if not authenticated

Checklist

  • I'm using the latest version of the extension (Run glab --version): 1.27.1
  • Operating system and version: openSUSE Tumbleweed
  • Gitlab.com or self-managed instance? both
  • GitLab version (if self-managed) irrelevant, but tested with 15.10.2-ee
  • I have performed glab auth status to check for authentication issues

Summary

When calling glab auth status for a host I'm not authenticated with the message to call login misses a newline.

Steps to reproduce

user@host:~$ glab auth status -h https://gitlab.kitware.com
x https://gitlab.kitware.com not authenticated with glab. Run `glab auth login --hostname https://gitlab.kitware.com` to authenticateuser@host:~$
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information