diff options
author | Dawid Dziurla <dawidd0811@gmail.com> | 2019-10-31 12:51:47 +0100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2019-11-05 19:22:01 +1100 |
commit | 5f9de1f034459f0e05fcc68057dacd2d86f6e9ec (patch) | |
tree | fb6da37311d7f8c3d8ce45f0ea2ae32ae9f951c1 /pkg/git/patch_modifier.go | |
parent | 66eaaf9cbb2b7d06790faac1f1c8f4cc35495b5b (diff) |
please golang-ci
Diffstat (limited to 'pkg/git/patch_modifier.go')
-rw-r--r-- | pkg/git/patch_modifier.go | 2 |
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 |