Skip to content

Commit 1749e56

Browse files
rnroglbrntt
andauthored
Update Plugins/GRPCProtobufGenerator/Plugin.swift
Co-authored-by: George Barnett <[email protected]>
1 parent 256b3e9 commit 1749e56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugins/GRPCProtobufGenerator/Plugin.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ struct GRPCProtobufGenerator {
4242
let protoDirectoryPath = inputFile.deletingLastPathComponent()
4343

4444
// unless *explicitly* opted-out
45-
if config.client != false || config.server != false {
45+
if config.client || config.server {
4646
let grpcCommand = try protocGenGRPCSwiftCommand(
4747
inputFile: inputFile,
4848
config: config,

0 commit comments

Comments
 (0)