mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04:22 +01:00
fixing --commit bug, adding --files-at-commit option
This commit is contained in:
1 parent
d8ddb9630a
commit
5a300c3c64
4 files changed
+85
-44
No files matched your search
+5
-4
@@ -145,12 +145,13 @@ func TestAudit(t *testing.T) {
|
||||
wantEmpty: true,
|
||||
},
|
||||
{
|
||||
// TODO UPDATE TESTS
|
||||
description: "test local repo one aws leak single commit",
|
||||
opts: options.Options{
|
||||
RepoPath: "../test_data/test_repos/test_repo_1",
|
||||
Report: "../test_data/test_local_repo_one_aws_leak_commit.json.got",
|
||||
Commit: "6557c92612d3b35979bd426d429255b3bf9fab74",
|
||||
ReportFormat: "json",
|
||||
RepoPath: "../test_data/test_repos/test_repo_1",
|
||||
Report: "../test_data/test_local_repo_one_aws_leak_commit.json.got",
|
||||
FilesAtCommit: "6557c92612d3b35979bd426d429255b3bf9fab74",
|
||||
ReportFormat: "json",
|
||||
},
|
||||
wantPath: "../test_data/test_local_repo_one_aws_leak_commit.json",
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user