Skip to content

Commit

Permalink
Update generator.go
Browse files Browse the repository at this point in the history
  • Loading branch information
hind3ight authored Dec 13, 2021
1 parent ae3dbe6 commit 0728da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/action/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func Generate(files []string, fieldsToExportStr, format, table string) (lines []

count := 0
if strings.ToLower(filepath.Ext(files[1])) == "."+constant.FormatProto { //gen from protobuf
buf, pth := gen.GenerateFromProtobuf(files[0])
buf, pth := gen.GenerateFromProtobuf(files[1])

if vari.Verbose {
logUtils.PrintTo(i118Utils.I118Prt.Sprintf("protobuf_path", pth))
Expand Down

0 comments on commit 0728da3

Please sign in to comment.