We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe732a8 commit 86f8893Copy full SHA for 86f8893
Plugins/GRPCProtobufGenerator/Plugin.swift
@@ -83,10 +83,10 @@ struct GRPCProtobufGenerator {
83
84
let protocPath = try deriveProtocPath(using: config, tool: tool)
85
let protoDirectoryPaths: [String]
86
- if !config.importPaths.isEmpty {
87
- protoDirectoryPaths = config.importPaths
88
- } else {
+ if config.importPaths.isEmpty {
89
protoDirectoryPaths = [configFilePath.deletingLastPathComponent().absoluteStringNoScheme]
+ } else {
+ protoDirectoryPaths = config.importPaths
90
}
91
92
// unless *explicitly* opted-out
0 commit comments