Update comment formatting

This commit is contained in:
bagtoad 2024-09-18 10:35:35 -06:00
parent d8e77d256f
commit d24dfbeacf

View file

@ -217,8 +217,7 @@ func (c *AuthConfig) ActiveToken(hostname string) (string, string) {
return token, source
}
// HasActiveToken returns true when a token for the hostname is
// present.
// HasActiveToken returns true when a token for the hostname is present.
func (c *AuthConfig) HasActiveToken(hostname string) bool {
token, _ := c.ActiveToken(hostname)
return token != ""