Skip to content

Conversation

@anekkanti
Copy link
Member

What changed?
A couple of fixes for the protogen cmd.

  • When looking for proto files ignore directories.
  • Fix how regex is used when looking up enums.

How did you test it?

Ran make proto and verified that there was no diff generated.

@anekkanti anekkanti requested review from a team as code owners November 25, 2024 19:14
Comment on lines +123 to +124
scanner := bufio.NewScanner(bytes.NewReader(bs))
for scanner.Scan() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you help me understand the situation where the previous code didn't work? (not that I disagree w/ the change, just trying to understand)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants