Skip to content

Commit

Permalink
Fix whitepspace linting error
Browse files Browse the repository at this point in the history
Fix this golangci-lint linting error introduced in #11:
`send.go:88: unnecessary leading newline (whitespace)`
  • Loading branch information
atc0005 committed Apr 19, 2020
1 parent a6412ec commit 6aa3424
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion send.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ func IsValidInput(webhookMessage MessageCard, webhookURL string) (bool, error) {
// IsValidWebhookURL performs validation checks on the webhook URL used to
// submit messages to Microsoft Teams.
func IsValidWebhookURL(webhookURL string) (bool, error) {

switch {
case strings.HasPrefix(webhookURL, WebhookURLOfficecomPrefix):
case strings.HasPrefix(webhookURL, WebhookURLOffice365Prefix):
Expand Down

0 comments on commit 6aa3424

Please sign in to comment.