Skip to content

Commit b5fb079

Browse files
dannykoppingEmyrk
andauthored
Update scripts/rules.go
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com>
1 parent cd326ad commit b5fb079

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/rules.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ func publishInTransaction(m dsl.Matcher) {
143143

144144
// Match direct calls to the Publish method of a pubsub instance inside InTx
145145
m.Match(`
146-
$x.InTx(func($y) error {
146+
$_.InTx(func($_) error {
147147
$*_
148148
$_ = $ps.Publish($evt, $msg)
149149
$*_

0 commit comments

Comments
 (0)