Skip to content

Commit

Permalink
lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
KunJeongPark committed Dec 18, 2024
1 parent 014692f commit 4d58b1e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Sources/CardPaySheet/CardType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4d58b1e

Please sign in to comment.