Skip to content

Commit f062f61

Browse files
committed
FIx string generation and remove non alphanumeric character
1 parent d48b6f5 commit f062f61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/utils.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func GetStringOrFile(arg string) string {
3434

3535
// RandomString return a string of length n
3636
func RandomString(n int) string {
37-
var letters = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_")
37+
var letters = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789")
3838

3939
s := make([]rune, n)
4040
for i := range s {

0 commit comments

Comments
 (0)