Skip to content

Commit

Permalink
v0.0.15: auth error handling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
geemus committed Mar 19, 2024
1 parent 2aae3a0 commit e32169a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lcl/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (c LclConfig) perform(ctx context.Context, drv *ui.Driver) error {
if c.orgSlug == "" {
userInfo, err := c.anc.UserInfo(ctx)
if err != nil {
return nil
return err
}
c.orgSlug = userInfo.PersonalOrg.Slug
}
Expand Down
2 changes: 1 addition & 1 deletion lcl/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (c Setup) perform(ctx context.Context, drv *ui.Driver) error {
if c.orgSlug == "" {
userInfo, err := c.anc.UserInfo(ctx)
if err != nil {
return nil
return err
}
c.orgSlug = userInfo.PersonalOrg.Slug
}
Expand Down

0 comments on commit e32169a

Please sign in to comment.