From a3bc978007d5ad007b344dbe728b9796d75a9ee8 Mon Sep 17 00:00:00 2001 From: Matheus dos Reis de Jesus Date: Fri, 3 May 2024 09:50:31 +0100 Subject: [PATCH] Ignore @ZupIT domain on validation --- Actions/Validation/Sources/LinkValidator/LinkValidator.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Actions/Validation/Sources/LinkValidator/LinkValidator.swift b/Actions/Validation/Sources/LinkValidator/LinkValidator.swift index dd33369..8577ce6 100644 --- a/Actions/Validation/Sources/LinkValidator/LinkValidator.swift +++ b/Actions/Validation/Sources/LinkValidator/LinkValidator.swift @@ -13,7 +13,8 @@ public final class LinkValidator { private let ignoreList = [ "https?://(www.)?linkedin.com", "https?://(www.)?instagram.com", - "https?://([a-zA-Z0-9]*.)?medium.com" + "https?://([a-zA-Z0-9]*.)?medium.com", + "https?://(www.)?zup.com.br" ] private func matchesIgnoreList(_ link: Link) -> Bool {