Skip to content

Conversation

rayjcwu
Copy link
Contributor

@rayjcwu rayjcwu commented May 10, 2021

Issue #, if available:

#298

Description of changes:

Before writing out package names, append them to a slice and sort them.
This keeps the import list remaining in the same order. Otherwise, the generated protobuf *.go files may change even though *.proto is the same, which causes trouble in our CI environment.

I'm having trouble coming up with a test for this change. Any example I could look at?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@marioizquierdo marioizquierdo merged commit ff45a2a into twitchtv:master May 18, 2021
@marioizquierdo
Copy link
Contributor

Merged in master. Will tag along with next release soon. Thanks!

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