Skip to content

Commit

Permalink
chore: fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Jan 26, 2022
1 parent e840f70 commit 890c63d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion telegram/dcs/test.go
Expand Up @@ -4,7 +4,7 @@ import "github.com/gotd/td/tg"

// Staging returns staging DC list.
//
// Deprecated. Use Test().
// Deprecated: Use Test().
func Staging() List {
return Test()
}
Expand Down
2 changes: 1 addition & 1 deletion telegram/message/internal/mkrun/mkrun.go
Expand Up @@ -96,7 +96,7 @@ func run(g Generator) (rErr error) {

var w io.Writer = os.Stdout
if path := *o; path != "" {
f, err := os.Create(path)
f, err := os.Create(path) // #nosec G304
if err != nil {
return err
}
Expand Down

0 comments on commit 890c63d

Please sign in to comment.