Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
severnt committed Jan 22, 2024
1 parent cf254bd commit 0fb60da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/protoc-gen-grpc-swift/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ func main(args: [String]) throws {
binaryFile.content = serializedFileDescriptorProto
response.file.append(binaryFile)
}
if !fileDescriptor.services.isEmpty && (options.generateClient || options.generateServer || options.generateTestClient) {
if !fileDescriptor.services.isEmpty
&& (options.generateClient || options.generateServer || options.generateTestClient)
{
var grpcFile = Google_Protobuf_Compiler_CodeGeneratorResponse.File()
let grpcFileName = uniqueOutputFileName(
component: "grpc",
Expand Down

0 comments on commit 0fb60da

Please sign in to comment.