mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 20:54:22 +01:00
some barebones tests
This commit is contained in:
1 parent
0d75136c1c
commit
25736d115f
3 files changed
+3
-4
No files matched your search
+1
-1
@@ -317,6 +317,6 @@ func (opts *Options) setupLogger() {
|
||||
|
||||
// isGithubTarget checks if url is a valid github target
|
||||
func isGithubTarget(url string) bool {
|
||||
re := regexp.MustCompile("github\\.com\\/")
|
||||
re := regexp.MustCompile("github.com")
|
||||
return re.MatchString(url)
|
||||
}
|
||||
Reference in new issue
Block a user