Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for protogen cmd #196

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix for protogen cmd #196

wants to merge 1 commit into from

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.

2 participants