Skip to content

Commit e1d0d4e

Browse files
committed
fix: fixes generated comments
1 parent 050b2da commit e1d0d4e

File tree

5 files changed

+17
-16
lines changed

5 files changed

+17
-16
lines changed

example/example_temporal.pb.go

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/simple/simple_temporal.pb.go

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/plugin/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func (svc *Service) genClientInterface(f *g.File) {
8181
for _, query := range svc.queriesOrdered {
8282
handler := svc.methods[query]
8383
hasInput := !isEmpty(handler.Input)
84-
methods.Commentf("% sends a %s query to an existing workflow", query, query)
84+
methods.Commentf("%s sends a %s query to an existing workflow", query, query)
8585
methods.Id(query).
8686
ParamsFunc(func(args *g.Group) {
8787
args.Id("ctx").Qual("context", "Context")
@@ -101,7 +101,7 @@ func (svc *Service) genClientInterface(f *g.File) {
101101
for _, signal := range svc.signalsOrdered {
102102
handler := svc.methods[signal]
103103
hasInput := !isEmpty(handler.Input)
104-
methods.Commentf("% sends a %s signal to an existing workflow", signal, signal)
104+
methods.Commentf("%s sends a %s signal to an existing workflow", signal, signal)
105105
methods.Id(signal).
106106
ParamsFunc(func(args *g.Group) {
107107
args.Id("ctx").Qual("context", "Context")

justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ _default:
55
build:
66
#!/usr/bin/env bash
77
set -euo pipefail
8-
goreleaser release --rm-dist --snapshot
8+
goreleaser build --rm-dist --snapshot
99

1010
# execute code generation
1111
gen:
@@ -24,7 +24,7 @@ install:
2424
if [ "{{ os() }}" = "macos" ]; then
2525
cp ./dist/protoc-gen-go-temporal_darwin_amd64/protoc-gen-go_temporal /usr/local/bin/
2626
else
27-
cp ./dist/protoc-gen-go-temporal_linux_amd64/protoc-gen-go_temporal /usr/local/bin/
27+
cp ./dist/protoc-gen-go-temporal_linux_amd64_v1/protoc-gen-go_temporal /usr/local/bin/
2828
fi
2929

3030
# run tests

proto/buf.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ breaking:
66
use:
77
- FILE
88
lint:
9+
allow_comment_ignores: true
910
use:
1011
- BASIC

0 commit comments

Comments
 (0)