refactor(generic-api-key): remove hard-coded 'magic' (#1600)

This commit is contained in:
Richard Gomez authored and GitHub committed 2025-01-13 19:57:25 -06:00
1 parent 748076d976
commit c4526b2c55
4 files changed
+11 -23

No files matched your search

-11
View File
@@ -180,17 +180,6 @@ func printFinding(f report.Finding, noColor bool) {
fmt.Println("")
}
func containsDigit(s string) bool {
for _, c := range s {
switch c {
case '1', '2', '3', '4', '5', '6', '7', '8', '9':
return true
}
}
return false
}
func isWhitespace(ch byte) bool {
return ch == ' ' || ch == '\t' || ch == '\n' || ch == '\r'
}