Skip to content

Commit fc59cb2

Browse files
committed
fix merge
1 parent efb4100 commit fc59cb2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Plugins/GRPCProtobufGenerator/BuildPluginConfig.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,13 +192,13 @@ extension BuildPluginConfig.Protoc: Codable {
192192
extension GenerationConfig {
193193
init(buildPluginConfig: BuildPluginConfig, configFilePath: URL, outputPath: URL) {
194194
self.server = buildPluginConfig.generate.servers
195-
self.client = buildPluginConfig.generate.clients
196-
self.message = buildPluginConfig.generate.messages
195+
self.clients = buildPluginConfig.generate.clients
196+
self.messages = buildPluginConfig.generate.messages
197197
// Use path to underscores as it ensures output files are unique (files generated from
198198
// "foo/bar.proto" won't collide with those generated from "bar/bar.proto" as they'll be
199199
// uniquely named "foo_bar.(grpc|pb).swift" and "bar_bar.(grpc|pb).swift".
200200
self.fileNaming = .pathToUnderscores
201-
self.visibility = buildPluginConfig.generatedSource.accessLevel
201+
self.accessLevel = buildPluginConfig.generatedSource.accessLevel
202202
self.accessLevelOnImports = buildPluginConfig.generatedSource.accessLevelOnImports
203203
// Generate absolute paths for the imports relative to the config file in which they are specified
204204
self.importPaths = buildPluginConfig.protoc.importPaths.map { relativePath in

0 commit comments

Comments
 (0)