Skip to content

Commit

Permalink
fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
simskij committed Jun 14, 2020
1 parent 670b93f commit 0dc9fc8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

*.out
.idea
site

report.json
coverage.txt
dist
dist
site
2 changes: 1 addition & 1 deletion cmd/generate/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var Cmd = &cobra.Command{
// WORKAROUND: make cobra count env vars when checking required flags

if len(args) == 1 {
cmd.Flags().Set("url", args[0]))
cmd.Flags().Set("url", args[0])
return
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/services/mattermost/mattermost_json.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/containrrr/shoutrrr/pkg/types"
)

// JSON payload used with the mattermost service
// JSON payload for mattermost notifications
type JSON struct {
Text string `json:"text"`
UserName string `json:"username,omitempty"`
Expand Down

0 comments on commit 0dc9fc8

Please sign in to comment.