~emersion/gqlclient-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

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

Details
Message ID
<20230420101841.148301-1-admin@xenrox.net>
DKIM signature
missing
Download raw message
Patch: +1 -1
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
Details
Message ID
<p8v0xARu03XL6OaPlWJtPebWDVV5FusP-abesftcmYA-tFEFJU3Q8WIcAD0AEDaYrpQwlrzIKisCpu-0x5fW67SL9-Dw8WmEVKztfYZ12Ho=@emersion.fr>
In-Reply-To
<20230420101841.148301-1-admin@xenrox.net> (view parent)
DKIM signature
missing
Download raw message
Pushed, thanks!
Reply to thread Export thread (mbox)