mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
Escape - character in regex character groups (#802)
* fix char escape * add test * fix verbosity in make test
This commit is contained in:
1 parent
19555579c8
commit
9326f35380
5 files changed
+34
-13
No files matched your search
@@ -6,7 +6,7 @@ LDFLAGS=-ldflags "-X=github.com/zricethezav/gitleaks/v8/cmd.Version=$(VERSION)"
|
||||
COVER=--cover --coverprofile=cover.out
|
||||
|
||||
test-cover:
|
||||
go test ./... --race $(COVER) $(PKG) -v
|
||||
go test -v ./... --race $(COVER) $(PKG)
|
||||
go tool cover -html=cover.out
|
||||
|
||||
format:
|
||||
@@ -14,7 +14,7 @@ format:
|
||||
|
||||
test: format
|
||||
go vet ./...
|
||||
go test ./... --race $(PKG) -v
|
||||
go test -v ./... --race $(PKG)
|
||||
|
||||
build: format
|
||||
go vet ./...
|
||||
|
||||
Reference in new issue
Block a user