We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20d4e53 commit 3cc5ba1Copy full SHA for 3cc5ba1
go/ql/lib/semmle/go/frameworks/GoMicro.qll
@@ -27,12 +27,7 @@ module GoMicro {
27
* A file that is generated by the protobuf compiler.
28
*/
29
class ProtocGeneratedFile extends File {
30
- ProtocGeneratedFile() {
31
- exists(string prefix, File f |
32
- prefix = this.getBaseName().regexpCapture("^(.*)\\.pb(\\.micro)?\\.go$", 1) and
33
- this.getParentContainer() = f.getParentContainer()
34
- )
35
- }
+ ProtocGeneratedFile() { this.getBaseName().regexpMatch(".*\\.pb(\\.micro)?\\.go$") }
36
}
37
38
/**
0 commit comments