Browse Source

Removed unnecessary backslashes

AmitHofree 5 năm trước cách đây
mục cha
commit
f735c9a5c9
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      config/default.go

+ 2 - 2
config/default.go

@@ -80,7 +80,7 @@ title = "gitleaks config"
 
 [[rules]]
     description = "Google API key"
-    regex = '''AIza[0-9A-Za-z\\-_]{35}'''
+    regex = '''AIza[0-9A-Za-z\-_]{35}'''
     tags = ["key", "Google"]
 
 [[rules]]
@@ -135,7 +135,7 @@ title = "gitleaks config"
 
 [[rules]]
     description = "Square OAuth secret"
-    regex = '''sq0csp-[0-9A-Za-z\\-_]{43}'''
+    regex = '''sq0csp-[0-9A-Za-z\-_]{43}'''
     tags = ["key", "square"]
 
 [[rules]]