diff options
Diffstat (limited to 'bridge/gitlab')
-rw-r--r-- | bridge/gitlab/config.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bridge/gitlab/config.go b/bridge/gitlab/config.go index 36daaa68..fb593819 100644 --- a/bridge/gitlab/config.go +++ b/bridge/gitlab/config.go @@ -256,6 +256,9 @@ func promptToken(baseUrl string) (*auth.Token, error) { } rawToken, err := input.Prompt("Enter token", "token", input.Required, validator) + if err != nil { + return nil, err + } token := auth.NewToken(rawToken, target) token.SetMetadata(auth.MetaKeyLogin, login) |