summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDawid Dziurla <dawidd0811@gmail.com>2019-10-31 12:51:47 +0100
committerJesse Duffield <jessedduffield@gmail.com>2019-11-05 19:22:01 +1100
commit5f9de1f034459f0e05fcc68057dacd2d86f6e9ec (patch)
treefb6da37311d7f8c3d8ce45f0ea2ae32ae9f951c1
parent66eaaf9cbb2b7d06790faac1f1c8f4cc35495b5b (diff)
please golang-ci
-rw-r--r--pkg/git/patch_modifier.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/git/patch_modifier.go b/pkg/git/patch_modifier.go
index b62130324..bb462a3c3 100644
--- a/pkg/git/patch_modifier.go
+++ b/pkg/git/patch_modifier.go
@@ -9,7 +9,7 @@ import (
"github.com/sirupsen/logrus"
)
-var headerRegexp = regexp.MustCompile("(?m)^@@ -(\\d+)[^\\+]+\\+(\\d+)[^@]+@@(.*)$")
+var headerRegexp = regexp.MustCompile(`(?m)^@@ -(\\d+)[^\\+]+\\+(\\d+)[^@]+@@(.*)$`)
type PatchHunk struct {
header string