From 4d58b1e36b7d3d82c1c8fdee70fe96596cb66c0e Mon Sep 17 00:00:00 2001 From: Victoria Park Date: Wed, 18 Dec 2024 11:50:50 -0800 Subject: [PATCH] lint error --- Sources/CardPaySheet/CardType.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Sources/CardPaySheet/CardType.swift b/Sources/CardPaySheet/CardType.swift index 6960fc30..3dc5858c 100644 --- a/Sources/CardPaySheet/CardType.swift +++ b/Sources/CardPaySheet/CardType.swift @@ -39,7 +39,11 @@ enum CardType { return .visa } else if cardNumber.starts(with: "6011") || cardNumber.starts(with: "65") { return .discover - } else if cardNumber.starts(with: "51") || cardNumber.starts(with: "52") || cardNumber.starts(with: "53") || cardNumber.starts(with: "54") || cardNumber.starts(with: "55") { + } else if cardNumber.starts(with: "51") || + cardNumber.starts(with: "52") || + cardNumber.starts(with: "53") || + cardNumber.starts(with: "54") || + cardNumber.starts(with: "55") { return .masterCard } else { return .unknown