ci: improve codeql (#14792)

This commit is contained in:
Julien Robert
2023-01-26 12:57:18 +00:00
committed by GitHub
parent 32bb7f63a5
commit e4f7674041
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ const (
// shamelessly copied from
// https://stackoverflow.com/questions/22892120/how-to-generate-a-random-string-of-a-fixed-length-in-golang#31832326
// RandStringOfLength generates a random string of a particular length
// RandStringOfLength generates a random string of a particular length.
func RandStringOfLength(r *rand.Rand, n int) string {
b := make([]byte, n)
// A src.Int63() generates 63 random bits, enough for letterIdxMax characters!