Explorar el Código

its the simple things (#2020)

Zachary Rice hace 1 mes
padre
commit
ca20267a84
Se han modificado 2 ficheros con 4 adiciones y 2 borrados
  1. 2 1
      detect/codec/encodings.go
  2. 2 1
      detect/codec/unicode.go

+ 2 - 1
detect/codec/encodings.go

@@ -3,8 +3,9 @@ package codec
 import (
 	"fmt"
 	"math"
-	"regexp"
 	"strings"
+
+	"github.com/zricethezav/gitleaks/v8/regexp"
 )
 
 var (

+ 2 - 1
detect/codec/unicode.go

@@ -2,10 +2,11 @@ package codec
 
 import (
 	"bytes"
-	"regexp"
 	"strconv"
 	"strings"
 	"unicode/utf8"
+
+	"github.com/zricethezav/gitleaks/v8/regexp"
 )
 
 var (