瀏覽代碼

its the simple things (#2020)

Zachary Rice 1 月之前
父節點
當前提交
ca20267a84
共有 2 個文件被更改,包括 4 次插入2 次删除
  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 (