mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04:22 +01:00
Update regex for AWS secret key
This commit is contained in:
1 parent
5afe59d2fa
commit
714c0bef1e
2 files changed
+2
-3
No files matched your search
+1
-2
@@ -33,7 +33,7 @@ func TestScan(t *testing.T) {
|
||||
Path: filepath.Join(repoBasePath, "with_square_and_google"),
|
||||
Report: filepath.Join(expectPath, "results_square_and_google.json.got"),
|
||||
ReportFormat: "json",
|
||||
NoGit: true,
|
||||
NoGit: true,
|
||||
},
|
||||
wantPath: filepath.Join(expectPath, "results_square_and_google.json"),
|
||||
},
|
||||
@@ -69,7 +69,6 @@ func TestScan(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
func moveDotGit(from, to string) error {
|
||||
repoDirs, err := ioutil.ReadDir("../testdata/repos")
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user