Skip to content

Commit c49c4ed

Browse files
committed
revert(lint): restore force_unwrapping disables required by CI SwiftLint 0.63.2
1 parent c8cfdd1 commit c49c4ed

4 files changed

Lines changed: 4 additions & 1 deletion

File tree

TablePro/Core/Plugins/Registry/DownloadCountService.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ final class DownloadCountService {
1515
private static let cooldown: TimeInterval = 300 // 5 minutes
1616
private static let logger = Logger(subsystem: "com.TablePro", category: "DownloadCountService")
1717

18+
// swiftlint:disable:next force_unwrapping
1819
private static let releasesURL = URL(string: "https://api.github.com/repos/TableProApp/TablePro/releases?per_page=100")!
1920

2021
private let session: URLSession

TablePro/Core/Plugins/Registry/RegistryClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ final class RegistryClient {
2424
private static let logger = Logger(subsystem: "com.TablePro", category: "RegistryClient")
2525

2626
private static let defaultRegistryURL = URL(string:
27-
"https://raw.githubusercontent.com/TableProApp/plugins/main/plugins.json")!
27+
"https://raw.githubusercontent.com/TableProApp/plugins/main/plugins.json")! // swiftlint:disable:this force_unwrapping
2828

2929
static let customRegistryURLKey = "com.TablePro.customRegistryURL"
3030
private static let lastRegistryURLKey = "com.TablePro.lastRegistryURL"

TablePro/Core/Services/Licensing/LicenseAPIClient.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ final class LicenseAPIClient {
1414

1515
private static let logger = Logger(subsystem: "com.TablePro", category: "LicenseAPIClient")
1616

17+
// swiftlint:disable:next force_unwrapping
1718
private let baseURL = URL(string: "https://api.tablepro.app/v1/license")!
1819

1920
private let session: URLSession

TablePro/Core/Services/Licensing/LicenseConstants.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
import Foundation
99

1010
internal enum LicenseConstants {
11+
// swiftlint:disable:next force_unwrapping
1112
static let pricingURL = URL(string: "https://tablepro.app/#pricing")!
1213
}

0 commit comments

Comments
 (0)