You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please consider a logic like that to support .txt LICENSE files
let path = "\(packageCachePath)/\(pkgDir)/LICENSE"
let data: Data? = {
if let data = fman.contents(atPath: path) {
return data
} else {
return fman.contents(atPath: "\(path).txt")
}
}()
guard let data else { return }
The text was updated successfully, but these errors were encountered:
Please consider a logic like that to support .txt LICENSE files
The text was updated successfully, but these errors were encountered: