Skip to content

Commit 1833585

Browse files
owen-mcmbg
andauthored
Update go/ql/lib/semmle/go/frameworks/Twirp.qll
Co-authored-by: Michael B. Gale <[email protected]>
1 parent 764155c commit 1833585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/ql/lib/semmle/go/frameworks/Twirp.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ module Twirp {
8080
exists(ServiceInterfaceType i, PointerType p, TypeEntity te |
8181
p.implements(i) and
8282
this = p.getBaseType() and
83-
this.getName().regexpMatch("(?i)" + i.getName() + "(protobuf|json)" + "client") and
83+
this.getName().regexpMatch("(?i)" + i.getName() + "(protobuf|json)client") and
8484
te.getType() = this and
8585
te.getDeclaration().getLocation().getFile() instanceof ServicesGeneratedFile
8686
)

0 commit comments

Comments
 (0)