-
Notifications
You must be signed in to change notification settings - Fork 419
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 no output when Client=False,TestClient=True #1765
Conversation
fab82d0
to
f030f5a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
@@ -156,7 +156,7 @@ func main(args: [String]) throws { | |||
binaryFile.content = serializedFileDescriptorProto | |||
response.file.append(binaryFile) | |||
} | |||
if !fileDescriptor.services.isEmpty && (options.generateClient || options.generateServer) { | |||
if !fileDescriptor.services.isEmpty && (options.generateClient || options.generateServer || options.generateTestClient) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh sorry, the formatter doesn't like this, could you run ./scripts/format.sh -f
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the formatter script isn't happy with -f
.. I'll put up a separate PR for that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, right, -f
isn't required but the script tells you to pass it 🙈
062b4c7
to
0fb60da
Compare
Up until 1.19.0, passing
Client=False
andTestClient=True
would result in a file being generated. After commit 09c46b0 - this no longer happens.