Skip to content

Commit 1098a34

Browse files
committed
Move constants enum to be below other private extensions.
1 parent ae1fbd6 commit 1098a34

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Modules/Sources/Yosemite/PointOfSale/Eligibility/POSSystemStatusService.swift

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ public final class POSSystemStatusService: POSSystemStatusServiceProtocol {
6464
}
6565

6666
private extension POSSystemStatusService {
67-
enum Constants {
68-
static let wcPluginPath = "woocommerce/woocommerce.php"
69-
}
70-
7167
/// Updates or inserts system plugins in storage.
7268
func upsertSystemPlugins(siteID: Int64, systemStatus: POSPluginEligibilitySystemStatus, in storage: StorageType) {
7369
// Active and inactive plugins share identical structure, but are stored in separate parts of the remote response
@@ -103,6 +99,12 @@ private extension POSSystemStatusService {
10399
}
104100
}
105101

102+
private extension POSSystemStatusService {
103+
enum Constants {
104+
static let wcPluginPath = "woocommerce/woocommerce.php"
105+
}
106+
}
107+
106108
// MARK: - Network Response Structs
107109

108110
private struct POSPluginEligibilitySystemStatus: Decodable {

0 commit comments

Comments
 (0)