Skip to content
This repository was archived by the owner on Feb 1, 2025. It is now read-only.

Commit 8a8fefa

Browse files
davulrichsladg
authored andcommitted
Remove unused variables
1 parent c4a3b55 commit 8a8fefa

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/cdk/utils/cfnCertificate.ts

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ export const setupCfnCertificate = (scope: Stack, { domains }: SetupCfnCertifica
1414
// https://github.com/aws/aws-cdk/issues/8934
1515
const multiZoneMap = otherDomains.reduce((acc, curr) => ({ ...acc, [curr.domain]: curr.zone }), {})
1616

17-
const easyCheck = domains.reduce((acc, curr) => ({ ...acc, [curr.domain]: curr.zone.zoneName }), {})
18-
1917
// We need to stick with DNSValidatedCertificate for now, because Certificate construct does not support region specifiation.
2018
// So we would need to manage two different stacks and create certificate in us-east-1 with second stack.
2119
const certificate = new DnsValidatedCertificate(scope, 'Certificate', {

lib/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export const executeAsyncCmd = async ({ cmd, path, env }: CommandProps) => {
8989

9090
return new Promise((resolve, reject) => {
9191
console.log('Executing command: ', cmd)
92-
const sh = exec(cmd, { env: { ...process.env, ...env } }, (error, stdout, stderr) => {
92+
const sh = exec(cmd, { env: { ...process.env, ...env } }, (error, stdout) => {
9393
if (error) {
9494
reject(error)
9595
} else {

0 commit comments

Comments
 (0)