mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
write a report regardless if leaks are present (#758)
This commit is contained in:
1 parent
36779df3bb
commit
43ec22429f
4 files changed
+3
-6
No files matched your search
+1
-2
@@ -39,9 +39,8 @@ func TestWriteJSON(t *testing.T) {
|
||||
}},
|
||||
{
|
||||
|
||||
wantEmpty: true,
|
||||
testReportName: "empty",
|
||||
expected: filepath.Join(expectPath, "report", "this_should_not_exist.json"),
|
||||
expected: filepath.Join(expectPath, "report", "empty.json"),
|
||||
findings: []Finding{}},
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user