Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
benjlevesque committed Mar 17, 2023
1 parent c5ac6fe commit bea6e78
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/config/config.go
Expand Up @@ -140,8 +140,13 @@ func (c *AuthConfig) Token(hostname string) (string, string) {
return token, source
}

<<<<<<< Updated upstream
// HasEnvOrConfigToken checks whether the current env or config contains a token.
func (c *AuthConfig) HasEnvOrConfigToken() bool {
=======
// HasEnvToken checks whether the current env or config contains a token
func (c *AuthConfig) HasEnvToken() bool {
>>>>>>> Stashed changes
// This will check if there are any environment variable
// authentication tokens set for enterprise hosts.
// Any non-github.com hostname is fine here
Expand Down

0 comments on commit bea6e78

Please sign in to comment.