also put CC on .proto files
This commit is contained in:
parent
cb8ebc9e04
commit
2aee70c24e
|
@ -103,6 +103,9 @@ func scanForGoFiles(startDir string) ([]string, error) {
|
||||||
if strings.HasSuffix(path, ".go") {
|
if strings.HasSuffix(path, ".go") {
|
||||||
files = append(files, path)
|
files = append(files, path)
|
||||||
}
|
}
|
||||||
|
if strings.HasSuffix(path, ".proto") {
|
||||||
|
files = append(files, path)
|
||||||
|
}
|
||||||
|
|
||||||
// don't go into any directories
|
// don't go into any directories
|
||||||
if info.IsDir() {
|
if info.IsDir() {
|
||||||
|
|
Loading…
Reference in New Issue