mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-25 04:47:55 +00:00
Update ArchiveItem.swift
The *ing methods didn't alter the value, they provided a new value which was not assigned to anything.
This commit is contained in:
1 parent
035bfc4919
commit
fedb22e224
1 file changed
+3
-4
@@ -93,10 +93,9 @@ class ArchiveItem: CustomStringConvertible {
|
||||
|
||||
var feedURL:URL? = nil;
|
||||
if let feedURLStr = infoPlist["SUFeedURL"] as? String {
|
||||
feedURL = URL(string: feedURLStr);
|
||||
if feedURL?.pathExtension == "php" {
|
||||
feedURL?.deletingLastPathComponent()
|
||||
feedURL?.appendingPathComponent("appcast.xml")
|
||||
if let feedURL = URL(string: feedURLStr), feedURL.pathExtension == "php" {
|
||||
feedURL = feedURL.deletingLastPathComponent()
|
||||
feedURL = feedURL.appendingPathComponent("appcast.xml")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user