Makefile: error out if go files aren't correctly formatted
Noticed in #1058 that our gofmt make target isn't actually erroring if someone commits misformatted code.
This commit is contained in:
@@ -503,13 +503,13 @@ func (c *githubConnector) userEmail(ctx context.Context, client *http.Client) (s
|
||||
advised them not to check for verified emails
|
||||
(https://circleci.com/enterprise/changelog/#1-47-1).
|
||||
In addition, GitHub Enterprise support replied to a support
|
||||
ticket with "There is no way to verify an email address in
|
||||
GitHub Enterprise."
|
||||
ticket with "There is no way to verify an email address in
|
||||
GitHub Enterprise."
|
||||
*/
|
||||
if c.hostName != "" {
|
||||
email.Verified = true
|
||||
}
|
||||
|
||||
|
||||
if email.Verified && email.Primary {
|
||||
return email.Email, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user