theurichde / go-aws-sso

Makes dealing with AWS SSO Logins an ease
MIT License
111 stars 15 forks source link

Fix nil pointer dereference within `refresh` error path #179

Closed PaarthShah closed 3 months ago

PaarthShah commented 3 months ago

Fixes #178

Since readUsageInformation can return nil for lui, performing this log statement before doing the err check is unsafe