From b832502788ff3254789ab2663c9156880ba0eef8 Mon Sep 17 00:00:00 2001 From: rddimon Date: Thu, 7 Dec 2023 15:09:44 +0200 Subject: [PATCH] Remove console.log --- src/aws/route53-wrapper.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/aws/route53-wrapper.ts b/src/aws/route53-wrapper.ts index c45bbb97..e703936e 100644 --- a/src/aws/route53-wrapper.ts +++ b/src/aws/route53-wrapper.ts @@ -63,14 +63,12 @@ class Route53Wrapper { // removing the first part of the domain name, api.test.com => test.com const domainNameHost = domain.givenDomainName.substring(domain.givenDomainName.indexOf(".") + 1); - console.log(domain.givenDomainName); const targetHostedZone = hostedZones .filter((hostedZone) => { return !isPrivateDefined || isHostedZonePrivate === hostedZone.Config.PrivateZone; }) .filter((hostedZone) => { const hostedZoneName = hostedZone.Name.replace(/\.$/, ""); - console.log(hostedZoneName, domain.givenDomainName === hostedZoneName); return domain.givenDomainName === hostedZoneName || domainNameHost.endsWith(hostedZoneName); }) .sort((zone1, zone2) => zone2.Name.length - zone1.Name.length)