Skip to content

Commit 764155c

Browse files
author
Alvaro Muñoz
committed
remove bracket
1 parent 931c683 commit 764155c

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)