Skip to content

Commit

Permalink
Make the linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
fpseverino committed Oct 17, 2024
1 parent 8a6cfc5 commit ec3de27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Sources/Passes/DTOs/PersonalizationJSON.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
///
/// This file specifies the personal information requested by the signup form.
/// It also contains a description of the program and (optionally) the program’s terms and conditions.
///
///
/// > Tip: See the [documentation](https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/PassKit_PG/PassPersonalization.html#//apple_ref/doc/uid/TP40012195-CH12-SW2) to understand the keys.
public struct PersonalizationJSON: Encodable, Sendable {
/// The contents of this array define the data requested from the user.
Expand All @@ -16,15 +16,15 @@ public struct PersonalizationJSON: Encodable, Sendable {
var description: String

/// A description of the program’s terms and conditions.
///
///
/// This string can contain HTML link tags to external content.
///
///
/// If present, this information is displayed after the user enters their personal information and taps the Next button.
/// The user then has the option to agree to the terms, or to cancel out of the signup process.
var termsAndConditions: String?

/// Initializes a new ``PersonalizationJSON`` instance.
///
///
/// - Parameters:
/// - requiredPersonalizationFields: An array of ``PersonalizationField`` values that define the data requested to the user.
/// - description: A brief description of the program.
Expand Down
1 change: 0 additions & 1 deletion Sources/Passes/PassesServiceCustom.swift
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,6 @@ extension PassesServiceCustom {
try FileManager.default.copyItem(at: templateDirectory, to: root)
defer { _ = try? FileManager.default.removeItem(at: root) }


try await self.delegate.encode(pass: pass, db: db, encoder: self.encoder)
.write(to: root.appendingPathComponent("pass.json"))

Expand Down

0 comments on commit ec3de27

Please sign in to comment.