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 40615ea commit 62a32e8Copy full SHA for 62a32e8
Sources/Commands/SwiftPackageRegistryTool.swift
@@ -84,10 +84,10 @@ public struct SwiftPackageRegistryTool: ParsableCommand {
84
var url: String
85
86
func run(_ swiftTool: SwiftTool) throws {
87
- guard let url = URL(string: url),
+ guard let url = URL(string: self.url),
88
url.scheme == "https"
89
else {
90
- throw RegistryConfigurationError.invalidURL(url)
+ throw RegistryConfigurationError.invalidURL(self.url)
91
}
92
93
// TODO: Require login if password is specified
0 commit comments