Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
birdayz committed Mar 28, 2020
1 parent 71d26b3 commit 018813f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/proto/proto.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ func NewDescriptorRegistry(importPaths []string, exclusions []string) (*Descript

for _, importPath := range importPaths {
filepath.Walk(importPath, func(path string, info os.FileInfo, err error) error {
// protoparse.ResolveFilenames(importPaths []string, fileNames ...string)
if info != nil && !info.IsDir() && strings.HasSuffix(path, ".proto") {
// _, err = desc.LoadFileDescriptor(path)
protoFiles = append(protoFiles, path)
}

Expand Down

0 comments on commit 018813f

Please sign in to comment.