diff --git a/Plugins/ConnectPluginUtilities/GeneratorOptions.swift b/Plugins/ConnectPluginUtilities/GeneratorOptions.swift index 4bbb1565..493236de 100644 --- a/Plugins/ConnectPluginUtilities/GeneratorOptions.swift +++ b/Plugins/ConnectPluginUtilities/GeneratorOptions.swift @@ -46,6 +46,10 @@ private enum CommandLineParameter: String { return try commandLineParameters .components(separatedBy: ",") .compactMap { parameter in + if parameter.isEmpty { + return nil + } + guard let index = parameter.firstIndex(of: "=") else { throw Error.unknownParameter(string: parameter) }