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

do not generate an empty rule if a go_proto_library was already gener… #1927

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

Conversation

davidbyttow
Copy link
Contributor

What type of PR is this?

Bug fix

What package or component does this PR mostly affect?

language/go

What does this PR do? Why is it needed?

Prevents overwriting of a generated go_proto_library in the case where the package name matches the proto file name. See issue for more details.

Which issues(s) does this PR fix?
Fixes #1926

Other notes for review
Unclear exactly how to write a test for it, but did local testing at least.

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.

Deps for go_proto_library not generated when proto file name matches package name
1 participant