maintaining parity between current master

This commit is contained in:
Zach Rice committed 2022-03-11 17:55:50 -06:00
1 parent 6fed917106
commit c53e0fc98d
2 files changed
+30 -4

No files matched your search

+11
View File
@@ -94,3 +94,14 @@ func printFinding(f report.Finding) {
b, _ = json.MarshalIndent(f, "", " ")
fmt.Println(string(b))
}
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
}