mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Remove un-needed code
This commit is contained in:
@@ -27,12 +27,7 @@ module GoMicro {
|
||||
* A file that is generated by the protobuf compiler.
|
||||
*/
|
||||
class ProtocGeneratedFile extends File {
|
||||
ProtocGeneratedFile() {
|
||||
exists(string prefix, File f |
|
||||
prefix = this.getBaseName().regexpCapture("^(.*)\\.pb(\\.micro)?\\.go$", 1) and
|
||||
this.getParentContainer() = f.getParentContainer()
|
||||
)
|
||||
}
|
||||
ProtocGeneratedFile() { this.getBaseName().regexpMatch(".*\\.pb(\\.micro)?\\.go$") }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user