mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
Fix dotgit regex again (#507)
* fix dotgit regex again * Revert accidentally modified files Co-authored-by: Seb Elttam <seb@elttam.com>
This commit is contained in:
1 parent
8be91eea5d
commit
c0a9580a65
6 files changed
+51
-2
No files matched your search
+1
-1
@@ -6,7 +6,7 @@ import (
|
||||
|
||||
// used for ignoring .git directories when the --no-git flag is set
|
||||
// related issue: https://github.com/zricethezav/gitleaks/issues/486
|
||||
const dotGit = `\.git/`
|
||||
const dotGit = `/\.git/`
|
||||
|
||||
// AllowList is struct containing items that if encountered will allowlist
|
||||
// a commit/line of code that would be considered a leak.
|
||||
|
||||
Reference in new issue
Block a user