Skip to content

Commit

Permalink
Address SwiftLint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jotaemepereira committed May 23, 2024
1 parent 92121f9 commit 85aa59a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public struct HistoryEvent: Identifiable, Sendable {

func isMatchEvent() -> Bool {
switch type {
case .noMatchFound, .matchesFound(_):
case .noMatchFound, .matchesFound:
return true
default:
return false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -434,14 +434,14 @@ extension DataBrokerProtectionPixels: PixelKitEvent {
return [Consts.numberOfRecordsFound: String(profilesFound),
Consts.numberOfOptOutsInProgress: String(optOutsInProgress),
Consts.numberOfSucessfulOptOuts: String(successfulOptOuts),
Consts.numberOfOptOutsFailure: String(failedOptOuts),
Consts.numberOfOptOutsFailure: String(failedOptOuts),
Consts.durationOfFirstOptOut: String(durationOfFirstOptOut),
Consts.numberOfNewRecordsFound: String(numberOfNewRecordsFound)]
case .globalMetricsMonthlyStats(let profilesFound, let optOutsInProgress, let successfulOptOuts, let failedOptOuts, let durationOfFirstOptOut, let numberOfNewRecordsFound):
return [Consts.numberOfRecordsFound: String(profilesFound),
Consts.numberOfOptOutsInProgress: String(optOutsInProgress),
Consts.numberOfSucessfulOptOuts: String(successfulOptOuts),
Consts.numberOfOptOutsFailure: String(failedOptOuts),
Consts.numberOfOptOutsFailure: String(failedOptOuts),
Consts.durationOfFirstOptOut: String(durationOfFirstOptOut),
Consts.numberOfNewRecordsFound: String(numberOfNewRecordsFound)]
case .dataBrokerMetricsWeeklyStats(let dataBrokerURL, let profilesFound, let optOutsInProgress, let successfulOptOuts, let failedOptOuts, let durationOfFirstOptOut, let numberOfNewRecordsFound, let numberOfReappereances):
Expand Down Expand Up @@ -539,7 +539,7 @@ public class DataBrokerProtectionPixelsHandler: EventMapping<DataBrokerProtectio
.initialScanTotalDuration,
.initialScanSiteLoadDuration,
.initialScanPostLoadingDuration,
.initialScanPreStartDuration,
.initialScanPreStartDuration,
.globalMetricsWeeklyStats,
.globalMetricsMonthlyStats,
.dataBrokerMetricsWeeklyStats,
Expand Down

0 comments on commit 85aa59a

Please sign in to comment.