Skip to content

Commit

Permalink
linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arriven committed Mar 27, 2022
1 parent d53bc87 commit d6f17dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/templates/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ func randomChar(from string) byte {
if len(from) == 0 {
return 0
}

return from[rand.Intn(len(from))] //nolint:gosec // Cryptographically secure random not required
}

Expand Down

0 comments on commit d6f17dc

Please sign in to comment.