michaellihs / golab

Gitlab CLI written in Go
MIT License
27 stars 2 forks source link

Ignore `/` at the end of gitlab server url #3

Open michaellihs opened 6 years ago

michaellihs commented 6 years ago

When logging in to a Gitlab server and you add a / at the end of the URL, the API calls will break.

Fix this by trimming / at the end of URL during login.