Skip to content

Commit

Permalink
Feat: CLI Integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielHougaard committed Apr 18, 2024
1 parent cb6cbaf commit d31d98b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cli/packages/cmd/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,10 @@ var loginCmd = &cobra.Command{
util.HandleError(err)
}

if util.IS_TEST_MODE {
util.HandleSendUniversalAuthToken(cmd, res.AccessToken)
return
}
if plainOutput {
fmt.Println(res.AccessToken)
return
Expand Down

0 comments on commit d31d98b

Please sign in to comment.