~emersion/gqlclient-dev

gqlclientgen: Fix comment that indicates that code is generated v1 APPLIED

Thorben Günther: 1
 gqlclientgen: Fix comment that indicates that code is generated

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~emersion/gqlclient-dev/patches/40517/mbox | git am -3
Learn more about email & git

[PATCH] gqlclientgen: Fix comment that indicates that code is generated Export this patch

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
Pushed, thanks!