The period is missing at the end for the regex to match correctly.
See: https://godocs.io/cmd/go#hdr-Generate_Go_files_by_processing_source
---
Sadly this does not fix our gofmt issue for hut [1], but it is still a
bug.
[1]: https://builds.sr.ht/~emersion/job/976720
cmd/gqlclientgen/main.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/gqlclientgen/main.go b/cmd/gqlclientgen/main.go
index 72b281c..541f5e0 100644
--- a/cmd/gqlclientgen/main.go
+++ b/cmd/gqlclientgen/main.go
@@ -402,7 +402,7 @@ func main() {
}
f := jen.NewFile(pkgName)
- f.HeaderComment("Code generated by gqlclientgen - DO NOT EDIT")
+ f.HeaderComment("Code generated by gqlclientgen - DO NOT EDIT.")
var typeNames []string
for _, def := range schema.Types {
base-commit: 23b9305960d90c6a0972f72cade11d98644aa669
--
2.40.0