mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 21:24:21 +01:00
cleaning up path logic for clones and reports, local repos are supported now
This commit is contained in:
1 parent
648ae701bf
commit
39c9cb617c
5 files changed
+65
-93
No files matched your search
@@ -12,6 +12,7 @@ func TestNewLocalRepo(t *testing.T) {
|
||||
|
||||
func TestWriteReport(t *testing.T) {
|
||||
// TODO
|
||||
/*
|
||||
opts, err := defaultOptions()
|
||||
r := newRepo("fakerepo", "github.com")
|
||||
sampleLeak := Leak{
|
||||
@@ -26,4 +27,5 @@ func TestWriteReport(t *testing.T) {
|
||||
}
|
||||
r.leaks = []Leak{sampleLeak, sampleLeak}
|
||||
r.writeReport()
|
||||
*/
|
||||
}
|
||||
Reference in new issue
Block a user