mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 21:24:21 +01:00
external repo file support
This commit is contained in:
1 parent
2c80ad5ea9
commit
ccef3680d5
6 files changed
+96
-15
No files matched your search
+3
-2
@@ -15,11 +15,12 @@ func TestOwnerPath(t *testing.T) {
|
||||
if pwd != p {
|
||||
t.Error()
|
||||
}
|
||||
opts.ClonePath = "test"
|
||||
opts.ClonePath = "gitleaksTestClonePath"
|
||||
p, err = ownerPath("nameToIgnore")
|
||||
if p != "test" {
|
||||
if p != "gitleaksTestClonePath" {
|
||||
t.Error()
|
||||
}
|
||||
os.Remove("gitleaksTestClonePath")
|
||||
}
|
||||
|
||||
func TestNewOwner(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user