diff options
author | James Fargher <jfargher@gitlab.com> | 2023-03-15 01:11:41 +0300 |
---|---|---|
committer | James Fargher <jfargher@gitlab.com> | 2023-03-16 23:47:38 +0300 |
commit | 857860476afcd862a11f55c5da81d33e44e9e67b (patch) | |
tree | 011f3772bf857a0e5be86de5793434ad801bdc05 /tools/module-updater | |
parent | 73f73641310ba0c2a6cb7b77339b4dae53be061c (diff) |
module-updater: Relax proto package matcher to catch test protos
Diffstat (limited to 'tools/module-updater')
-rw-r--r-- | tools/module-updater/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/module-updater/main.go b/tools/module-updater/main.go index b7c897fc2..4366fcebc 100644 --- a/tools/module-updater/main.go +++ b/tools/module-updater/main.go @@ -291,7 +291,7 @@ func rewriteProto(moduleAbsRootPath, prev, next string) error { for _, line := range lines { tokens := bytes.Fields(line) pckg := bytes.Join(tokens, []byte{'~'}) - if !bytes.HasPrefix(pckg, []byte(`option~go_package~=~"`+prev+`/proto/go/gitalypb";`)) { + if !bytes.HasPrefix(pckg, []byte(`option~go_package~=~"`+prev+`/proto/`)) { modified = append(modified, line) continue } |