Skip to content

Commit

Permalink
Update smtp.go
Browse files Browse the repository at this point in the history
Signed-off-by: kannan-nic <[email protected]>
  • Loading branch information
kannan-nic authored May 2, 2024
1 parent 6251b46 commit 403825f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions connector/smtp/smtp.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ func (sc *smtpConnector) Login(ctx context.Context, _ connector.Scopes, username
if err != nil {
return

Check failure on line 52 in connector/smtp/smtp.go

View workflow job for this annotation

GitHub Actions / Lint

naked return in func `Login` with 88 lines of code (nakedret)
}
}
else if p == "" || p == "465" {
} else if p == "" || p == "465" {
conn, err = tls.Dial("tcp", sc.cfg.Host, nil)
if err != nil {
return

Check failure on line 57 in connector/smtp/smtp.go

View workflow job for this annotation

GitHub Actions / Lint

naked return in func `Login` with 88 lines of code (nakedret)
Expand Down

0 comments on commit 403825f

Please sign in to comment.