Skip to content

Commit 6ca7a11

Browse files
authored
Add line number to report plus some other things (gitleaks#409)
* Init refactor * think i got it working * we got em * Updating tests * fixing tests * Better comments, more test fixing * Bumping to v5 * Fixing golint messages * Replacing usage of audit with scan in comments * bumping go-git * Updating to v5 in some other spots
1 parent cfbb600 commit 6ca7a11

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+1483
-1167
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: go
22
go:
3-
- 1.13.x
3+
- 1.14.x
44
services:
55
- docker
66
script:

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
VERSION := `git fetch --tags && git tag | sort -V | tail -1`
44
PKG=github.com/zricethezav/gitleaks
5-
LDFLAGS=-ldflags "-X=github.com/zricethezav/gitleaks/v4/version.Version=$(VERSION)"
6-
_LDFLAGS="github.com/zricethezav/gitleaks/v4/version.Version=$(VERSION)"
5+
LDFLAGS=-ldflags "-X=github.com/zricethezav/gitleaks/v5/version.Version=$(VERSION)"
6+
_LDFLAGS="github.com/zricethezav/gitleaks/v5/version.Version=$(VERSION)"
77
COVER=--cover --coverprofile=cover.out
88

99
test-cover:

audit/audit.go

-65
This file was deleted.

0 commit comments

Comments
 (0)