Skip to content

Commit

Permalink
Fix Swift Package Index build failed in Swift 5.7 and Swift 5.8
Browse files Browse the repository at this point in the history
  • Loading branch information
leoho0722 committed Oct 28, 2023
1 parent c2132a2 commit aefc79d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sources/Error/GenerateError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ enum GenerateError: Error, CustomStringConvertible {
var description: String {
switch self {
case .unknown(let error):
"Unknown Error: \(error.localizedDescription)"
return "Unknown Error: \(error.localizedDescription)"
case .notInstallSFSymbols:
"SF Symbols.app is not installed yet! Please go to Apple Developer Website to download!"
return "SF Symbols.app is not installed yet! Please go to Apple Developer Website to download!"
case .notInstallSFSymbolsBeta:
"SF Symbols beta.app is not installed yet! Please go to Apple Developer Website to download!"
return "SF Symbols beta.app is not installed yet! Please go to Apple Developer Website to download!"
case .propertyList(let error):
"PropertyList Error: \(error.localizedDescription)"
return "PropertyList Error: \(error.localizedDescription)"
}
}
}

0 comments on commit aefc79d

Please sign in to comment.