fix check
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
e53b7fb78b
commit
c74ea2bc7b
@ -105,9 +105,9 @@ func (e *GenericTemplateBasedEncoder) templates() ([]string, error) {
|
|||||||
}
|
}
|
||||||
for _, component := range components {
|
for _, component := range components {
|
||||||
if debug {
|
if debug {
|
||||||
log.Printf("check file template %s for %s", name, "_"+component+".pb.go")
|
log.Printf("check file template %s for %s", name, "_"+component+".pb.go.tmpl")
|
||||||
}
|
}
|
||||||
if component == "all" || strings.Contains(name, "_"+component+".pb.go") {
|
if component == "all" || strings.Contains(name, "_"+component+".pb.go.tmpl") {
|
||||||
skip = false
|
skip = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user